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

Function randomizeColumns

examples/react/column-pinning-sticky/src/main.tsx:104–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 })
103
104 const randomizeColumns = () => {
105 table.setColumnOrder(
106 faker.helpers.shuffle(table.getAllLeafColumns().map((d) => d.id)),
107 )
108 }
109
110 return (
111 <div className="p-2">

Callers 1

AppFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected