T
TanStack9mo ago
harsh-harlequin

Update Column Definition Dynamically

I need to be able to update the column definition dynamically. My use case for this is to enable sorting on a column when a useEffect hook fires in my react component. Is there a way to do this easily with tanstack table library?
1 Reply
like-gold
like-gold9mo ago
Could you just enable sorting for that column, but intercept the onSortingChange function and throw away sorting for that column?

Did you find this page helpful?