T
TanStack7mo ago
deep-jade

Updating ColumnDefs question

Hi, our ColumnDefs change as a result of a state change - useReactTable does not seem to be applying the new ColumnDef instances after the initial create. What is the recommended way to apply updated ColumnDef settings. I could store as a custom property on the meta and and provide a setter for this. a sample setting is if the column is editable or not.
1 Reply
generous-apricot
generous-apricot7mo ago
If I understand you correctly, these are custom properties you want to track. They should go in the Meta object like you’ve recognised.

Did you find this page helpful?