Keep grid filter/sort order on refresh

2 posts, 0 answers
  1. Silviu
    Silviu avatar
    63 posts
    Member since:
    Feb 2015

    Posted 06 Jan 2017 Link to this post

    I have a radGrid on a page which periodically refreshes the data from the server.

    The grid has filter and sorting enabled.

    Is it possible to keep the sort order/filter option when the page refreshes itself? As currently it all reset on auto-refresh.


  2. Konstantin Dikov
    Konstantin Dikov avatar
    2466 posts

    Posted 09 Jan 2017 Link to this post

    Hi Silviu,

    If you are refreshing RadGrid through its client-side API, the filter and the sort expression should be preserved:

    However, if you are refreshing the entire page, you could take a look at the following demo for persisting the RadGrid state:
    Hope this helps.

    Konstantin Dikov
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top