TanStackT
TanStack3y ago
1 reply
ill-bronze

Static row id

Hey, not familiar with usememo, i have sortable table. I need static id numbers, first row always start from 1. After every rerender table.
{
        id: "Row",
        header: "#",
        cell: (row) => {
          return <span>{row.row.index + 1}</span>;
        },
      },
Was this page helpful?