DataTable: Expander with grouping #4905
Labels
Status: Discussion
Issue or pull request needs to be discussed by Core Team
Type: New Feature
Issue contains a new feature or new component request
Describe the bug
I wanted to create table where there would be grouping by 2. Let's say if in case of working with months it would be like first 2 weeks and last two weeks. Inside those I wanted to be able to expande that row for first two weeks where I would have days or smetginh else. But... Since in this example below I have group of two and that td has rowspan of 2, as soon as I do the expand goes off becase rowspan stays the same and now we have 3 insted of 2 rows or maybe even 4 if we expand both first and second week. I've tried to manualy set number of rowspan for that column but it's not working as expected. Is there a solution or workaround?
Reproducer
https://codesandbox.io/s/primereact-demo-forked-fsljr7?file=/src/App.tsx
PrimeReact version
9.5.0
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: