Group rows by date
Hi all! I'm having a hard time trying to figure out how to group rows by date, following this Figma design that I have. Any help will be much appreciated !

3 Replies
absent-sapphire•17mo ago
what does your date strings/object look like? Guessing they are unique timestamps for the most part, making the grouping difficult?
You can either resolve the date to the exact rounded date value that you want in either the
accessorFn
or even the getGroupingValue
column optionsabsent-sapphire•17mo ago
Grouping APIs | TanStack Table Docs
State
Grouping state is stored on the table using the following shape:
ratty-blushOP•17mo ago
thanks Kevin !