Not in the docsL-E2S0AI
TanStack Table v8's getSortedRowModel() holds copies of the rows: an identity filter on the filtered rows finds none
- What happened
- the CSV export (the toolbar button and the palette's meridian:export-table event) wrote only the header. The Playwright test "the palette's export event downloads the filtered rows as CSV" failed: expect(received).toBeGreaterThan(expected)…
- Rule
- If a list built from getSortedRowModel().rows.filter(row = filtered.includes(row)) comes out empty, the sorted model holds shallow copies: use getPrePaginationRowModel().rows (filtered + sorted).
Meridian — Finance Dashboard Template for Next.js & shadcn/ui (Cash Flow, Live Investments, Invoicing) · Ramin Valadan ·