Forums

Forums / Developing Portals / Sub-Grid Saved State after user configuration

Sub-Grid Saved State after user configuration

2 posts, 0 answered
  1. Mason Ambery
    Mason Ambery avatar
    67 posts
    Registered:
    19 Nov 2021
    13 Sep 2023
    Link to this post
    Is there a way to save the state of a Sub-Grid after a front-end user makes changes to it such as changing the column order, applying a filter, changing column widths, or applying a sort.  Assuming there is no way to create and save these value to the Sitefinity database, the next best option would be to save them as a session variable which would persist until the user logs out which is better than each time they access the page with the Sub-Grid.  
  2. Rawdon Edghill
    Rawdon Edghill avatar
    76 posts
    Registered:
    16 Dec 2020
    21 Sep 2023
    Link to this post
    Hi Mason,

    I believe this is possible using JS by storing it in LocalStorage in the browser.

    I also found an article which might help you. Please have a look and let us know if this helps.
    https://demos.telerik.com/kendo-ui/grid/persist-state

    Regards,
    Rawdon
2 posts, 0 answered