Replies: 2 comments 2 replies
-
@jkixj Thank you for using BlazorBootstrap. Saving the Grid's sorting state as part of GridSettings is not yet supported. This functionality will be included in future releases. Link: https://docs.blazorbootstrap.com/components/grid#save-and-load-grid-settings |
Beta Was this translation helpful? Give feedback.
1 reply
-
@jkixj Please raise an issue for this. We will implement an enhancement to address it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a grid that is enabled for sorting, filtering, and pagination. I am using a DataProvider to fetch the data.
I am able to restore the filters and pagination (GridSettings) on the grid by loading those from session settings, but I need to be able to also restore sorting as well. The idea being that the user can return the a screen and it (seem to) be in the same state as they left it.
My understanding is that sorting is a property of each column, but there is no way to dynamically access the columns given a reference to the grid.
Is there a way to do this other than manually tracking settings for each column? This seems like something that should be part of the GridSettings API, but it is not.
Beta Was this translation helpful? Give feedback.
All reactions