How do we clear a grid of its previous results on click of a search button?
When I put a!save(local!TestGridPaging, null), in my search button layout code, it gives me an error.
Expression evaluation error in rule 'TestGridClearance' at function 'todatasubset' [line 161]: Error evaluating function 'todatasubset' : An invalid start index of 0 was passed in. Start indices must be greater or equal to 1.
Discussion posts and replies are publicly visible
I suppose you are making the paginInfo variable to null in this scenario. That is not correct, this will surely make the code fail as the grid will not have the start index to refer to. If you provide the code sample here it might be easier to provide a solution