react-data-grid icon indicating copy to clipboard operation
react-data-grid copied to clipboard

how do i group by a values that is inside a row that isnt a column

Open GeoHaz7 opened this issue 2 years ago • 1 comments

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

GeoHaz7 avatar Mar 23 '23 17:03 GeoHaz7

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

DevTGhosh avatar Mar 31 '23 07:03 DevTGhosh

At the moment this is not supported

amanmahajan7 avatar Apr 16 '25 16:04 amanmahajan7

Duplicate issue https://github.com/adazzle/react-data-grid/issues/2536

amanmahajan7 avatar Apr 21 '25 17:04 amanmahajan7