flatRows instead of traversing through the nested rows tree. I like this because it's simpler and it makes it easier for me to write logic to render the table whether it's grouped or ungrouped.column.toggleSort(true/false)), thencolumn.clearSorting())flatRow.getIsGrouped() === true) are sorting to the bottom of the flatRows array, and all of the data (flatRow.getIdGrouped() === false) rows get duplicated. So if I have 10 records before grouping, then 12 after grouping (+2 group rows), I'll have 22 (10 * 2 + 2) rows in total in table.getRowModel().flatRows - again with the group rows sorted to the bottom. The table.getRowModel().rows field looks to be sorted correctly. flatRows? I could ditch flatRows, I'd just rather not is all.https://x.com/tan_stack/status/2031128535470104577?s=20
dry-scarlet · 17h ago
https://x.com/powersync_/status/2010721010006552775?s=20
dry-scarlet · 2mo ago
You can now submit your website/app/project to http://TanStack.com 's new showcase and have it seen by the TanStack community! - Global showcase browser - Per-library filters - Category filters Submit here: https://tanstack.com/showcase/submit View all here: https://tanstack.com/showcase
dry-scarlet · 3mo ago