Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #109133
    LarsInGame
    Participant

    I am using the data grid in my Angular project. Its function is to display data related to a set of objects, and by clicking a button for each row, I can access the details of the selected object. I have activated the filterRow to filter the objects. When navigating to the detail page and then returning to the data grid page, the filters are cleared. Is there a way to retrieve and reapply the filters when returning to the data grid page?

    • This topic was modified 5 months, 2 weeks ago by LarsInGame.
    #109136
    Markov
    Keymaster

    Hi LarsinGame,

    You can use the Grid’s const state = saveState() to save the current state of the Grid and loadState(state) method to load a previous state. It will save and load the applied filters.

    Best regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.