Replies: 3 comments 1 reply
-
Hello dev, Did you happen to find a workable solution to this problem? I too need to be able to select multiple items from a batch and of course they're not all on one page. |
Beta Was this translation helpful? Give feedback.
-
This feature is tracked as #576, and we aim to make it configurable. |
Beta Was this translation helpful? Give feedback.
-
@hakenr - you now have a premium sponsor requesting enhancement / issue #576 :-) I'm happy to support your project. I just really appreciate the attitude you have when replying to discussions and issues. I thought about just going back to Mud when I ran into this issue with the datagrid but after you replied in the kind manner that you did, I didn't have any peace with abandoning Havit. Havit.Blazor is more visually appealing, I enjoy working with Boostrap, and I just appreciate the ethos here. So thanks for all your hard work on this project. I'm going to post my use case on the issue page. |
Beta Was this translation helpful? Give feedback.
-
Hi
I have an HX grid with pagination in it. I am loading the data only when needed. When the grid loads, I load the first page worth of data. When the next page is clicked, I load the next set of page set of data.
Now I have "multi select" enabled and I thoguht if I would keep the loaded results in memory plus having the selected rows in memory that would be enough to keep the state.
What I want is if you load up the grid and are on page 1, you select 3 rows, and then go to page 2 and then go back to page 1 those 3 rows should still be checked.
Right now when I do this, it is wiped out.
I can't share my code but I did something essentially like the following code.
I was hoping this would work as I am storing all the results into a Dictonary even as the GridDataProviderResult and storing all the selected rows. I am not making them "new" or anything so I thought they would be all the same reference.
Yet when I go back to the previous page non onf the selected rows are selected.
I am not sure how to do this.
Beta Was this translation helpful? Give feedback.
All reactions