DataTable: Subheader row group along with date sorting not working as intended #5651
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
I'm using the subheader row grouping prop and grouping by date. Along with that, I also have date filtering going on.
All I see is a bunch of repeating date subheaders instead of just one. I think it may have to do with the grouping being done on Date objects instead of strings, but I'm not sure how to fix that? Any ideas?
Codesandbox: https://codesandbox.io/p/sandbox/primereact-demo-forked-3x9ryj?file=%2Fsrc%2FApp.tsx%3A276%2C24
Reproducer
https://codesandbox.io/p/sandbox/primereact-demo-forked-3x9ryj?file=%2Fsrc%2FApp.tsx%3A276%2C24
PrimeReact version
latest
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: