react-data-grid
react-data-grid copied to clipboard
how do i group by a values that is inside a row that isnt a column
the rows i have contain a certain value for example row.age but i dont want to display a whole row for age, but at the same time i want to be able to group by row.age
You can't with react-data-grid. You will have to do the grouping of the data on your own.
I had created a code sandbox to create a basic version you can check it out and modify for your own requirements. https://codesandbox.io/embed/grouping-og-fbtdo?codemirror=1
At the moment this is not supported
Duplicate issue https://github.com/adazzle/react-data-grid/issues/2536