-
Hi I want to use HxGrid but trying to figure out how to best do this. Maybe it is how I am organizing my code what makes it a bit complicated. What I am trying to do I have multiple input boxes with a search button. They type in whatever and hit the search button. If there are no results, I want to display a message like "No results found". I do not really want to show an empty grid that has "no data in it". If Search results are found, then I want to display the grid. The grid will have pagination that is "dynamic" for example, 10 results will come back and will be shown until they hit the next page and load the next 10. How I'm organizing my code -SearchPage
Right now how it is I am basically calling the data twice, once when the button is clicked which returns the results which then goes and renders my HXGrid, which then calls the provider which then grabs the data again. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
If you want to load all the data at once, then user the |
Beta Was this translation helpful? Give feedback.
Yeah, I started to use some State/Services to get the data around then use The RefreshAsync()