GridPlus sorting/filter reset

Certified Associate Developer

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

Parents
  • 0
    Certified Lead Developer

    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. 

Reply
  • 0
    Certified Lead Developer

    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. 

Children
No Data