Hello everyone,
Is there a method to programmatically reset all column sorting/filters simultaneously within the GridPlus component?
For instance, consider a grid with five columns where a user applies sorting and filtering on three separate columns. Currently, the user must clear each column’s sorting/filtering individually to restore the grid to its initial state. My idea is to reset all sorting and filtering criteria with one button action.Thanks!
Discussion posts and replies are publicly visible
All filtering and sorting is managed inside the component. I do not see a way to reset this programmatically.
No, you cannot programmatically reset built-in GridPlus filtering and sorting. Users must manually clear each filter/sort individually.
While there is no direct way to achieve this, give this workaround a try and see if it works for you! Add a rich text icon or card as button with safelink() configured in the link attribute. In safelink() configuration set openLinkIn to SAME_TAB and set uri to uri of the same page/url. The idea is to reload the same page in the same tab. I personally have not tested this so suggesting hoping it works! Let me know how it goes.