Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose enableSortingRemoval in eds-data-grid #3628

Closed
mhwaage opened this issue Sep 18, 2024 · 0 comments · Fixed by #3636
Closed

Expose enableSortingRemoval in eds-data-grid #3628

mhwaage opened this issue Sep 18, 2024 · 0 comments · Fixed by #3636

Comments

@mhwaage
Copy link
Contributor

mhwaage commented Sep 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant