T
TanStack7mo ago
absent-sapphire

Shuffle sorting function

Hi guys, anyway that I can add 1 more option to my table that sort in shuffle? Currently my code is:
const [sorting, setSorting] = React.useState<SortingState>([]);

...

const table = useReactTable({
data,
columns,
onSortingChange: setSorting,
...
})
const [sorting, setSorting] = React.useState<SortingState>([]);

...

const table = useReactTable({
data,
columns,
onSortingChange: setSorting,
...
})
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?