Clearing previous results in a grid on click of a search button

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

Parents Reply Children
No Data