columnDef id and accessorKey
Hey guys! 👋
I'm trying to create a table with sorting and toggling column features.
so in my columnDefs I define the header component to enable sorting and hiding.
additionally I've got a dropdown next to the table to hide/show
what can I do? Is there a field in the columnDef for that? FYI: I'm using manualSorting
all
columns.
TLDR: it's creating an on/off button for all columns of the table that CanHide() and got an 'id'.
The problem is that I need these on/off buttons to be localized and if I change the id: '' value of the columnDef then it's also changing all the state id fields of my table states like ColumnOrderState to use an internationalized id.what can I do? Is there a field in the columnDef for that? FYI: I'm using manualSorting
0 Replies