equinor/design-system

Expose enableSortingRemoval in eds-data-grid

mhwaage opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
In tanstack table, the table option enableSortingRemoval can be set to false, to ensure that the table is always sorted according to a column. In our application, we have a need for this feature.. Unfortunately, eds does not forward this option to tanstack table.

Describe the solution you'd like

enableSortingRemoval gets forwarded to tanstack table.

Describe alternatives you've considered
Adding a prop optionsOverride: TableOptions<T> which exposes all table options, and allows users to additionally override eds default options.

Additional context