Datatable row grouping does not consider its previous column's group. #3508
Unanswered
akashaviator
asked this question in
PrimeReact
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to display grouped rows in the Datatable component using
rowGroupMode="rowspan"
prop.However, the row grouping doesn't seem to be considering the parent group (group in the previous column).
Please look at the 4th column in the example below.
Currently, all the cells in the 4th column are merged into one as all of them have the same value 'blr'.
I want this merging to consider its previous column group as well.
Another example here : https://stackblitz.com/edit/1ujgnqqy-kocfs6vw?file=src%2FApp.jsx
I tried implementing this myself without using
rowGroupMode="rowspan"
but I couldn't find a way to set the rowspan attribute on the elements that render each cell.Beta Was this translation helpful? Give feedback.
All reactions