MCPcopy Index your code
hub / github.com/TanStack/table / randomizeColumns

Function randomizeColumns

examples/react/column-ordering/src/main.tsx:92–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 })
91
92 const randomizeColumns = () => {
93 table.setColumnOrder(
94 faker.helpers.shuffle(table.getAllLeafColumns().map((d) => d.id)),
95 )
96 }
97
98 return (
99 <div className="p-2">

Callers 1

AppFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected