Data Grid - Columns
A fast and extendable data table and data grid for React. It's a feature-rich compoent available in MIT or Enterprise versions.
Column width
Column groups
Country | Area, sq. km. | Population | Nominal GDP |
---|
- https://ag-grid.com/javascript-grid-grouping-headers/
- https://www.telerik.com/kendo-react-ui/components/grid/columns/headers/
- https://ant.design/components/table/#components-table-demo-grouping-columns
- https://devexpress.github.io/devextreme-reactive/react/grid/docs/guides/banded-columns/
- http://schrodinger.github.io/fixed-data-table-2/example-column-groups.html
- https://ej2.syncfusion.com/react/demos/#/material/grid/stacked-header
- http://tabulator.info/examples/4.5#column-groups
Column sizing
Name | Rating | Address | Phone | Country |
---|
<DataGrid
style={{ maxHeight: 300, width: '100%' }}
columns={[
{ field: 'name', label: 'Name' },
{ field: 'rating', label: 'Rating' },
{ field: 'address', label: 'Address' },
{ field: 'phone', label: 'Phone' },
{ field: 'country', label: 'Country' },
]}
rowsData={data}
defaultColumnOptions={{ resizable: true }}
/>
Benchmark
- https://ag-grid.com/javascript-grid-resizing/
- https://demos.telerik.com/kendo-ui/grid/column-resizing
- https://www.telerik.com/kendo-react-ui/components/grid/columns/resizing/
- https://elastic.github.io/eui/#/tabular-content/data-grid
- https://devexpress.github.io/devextreme-reactive/react/grid/docs/guides/column-resizing/
- http://schrodinger.github.io/fixed-data-table-2/example-resize.html
- https://ej2.syncfusion.com/react/demos/#/material/grid/column-resizing
- https://js.devexpress.com/Demos/WidgetsGallery/Demo/DataGrid/ColumnResizing/React/Light/
- https://www.jqwidgets.com/react/react-grid/#https://www.jqwidgets.com/react/react-grid/react-grid-columnsresize.htm
Column reorder
- https://ag-grid.com/javascript-grid-column-moving/
- https://www.telerik.com/kendo-react-ui/components/grid/columns/reordering/
- https://demos.telerik.com/kendo-ui/grid/column-reordering
- https://devexpress.github.io/devextreme-reactive/react/grid/docs/guides/column-reordering/
- http://schrodinger.github.io/fixed-data-table-2/example-reorder.html
- https://ej2.syncfusion.com/react/demos/#/material/grid/reorder
- http://tabulator.info/docs/4.5/move
- https://www.jqwidgets.com/react/react-grid/#https://www.jqwidgets.com/react/react-grid/react-grid-columnsreorder.htm
- https://js.devexpress.com/Demos/WidgetsGallery/Demo/DataGrid/LocalReordering/React/Light/
Column sticky
Country | Area, sq. km. | Population Total | Population Urban | GDP Total | GDP Agriculture | GDP Industry | GDP Services |
---|
<DataGrid
style={{ maxHeight: 300, width: '100%' }}
columns={[
{ field: 'Country', label: 'Country' },
{ field: 'Area', label: 'Area, sq. km.' },
{ field: 'Population_Total', label: 'Population Total' },
{ field: 'Population_Urban', label: 'Population Urban' },
{ field: 'GDP_Total', label: 'GDP Total' },
{ field: 'GDP_Agriculture', label: 'GDP Agriculture' },
{ field: 'GDP_Industry', label: 'GDP Industry' },
{ field: 'GDP_Services', label: 'GDP Services' },
]}
rowsData={data}
/>
- https://ag-grid.com/javascript-grid-pinning/
- https://www.telerik.com/kendo-react-ui/components/grid/columns/locked/
- https://demos.telerik.com/kendo-ui/grid/frozen-columns
- https://ant.design/components/table/#components-table-demo-fixed-columns
- https://devexpress.github.io/devextreme-reactive/react/grid/docs/guides/fixed-columns/
- http://schrodinger.github.io/fixed-data-table-2/fixed-right-columns.html
- https://ej2.syncfusion.com/react/demos/#/material/grid/frozen-rows
- http://tabulator.info/docs/4.5/layout#frozen
- https://www.jqwidgets.com/react/react-grid/#https://www.jqwidgets.com/react/react-grid/react-grid-pinnedfrozencolumns.htm