Syncronize Url Hash with Grid Sorting & Filtering Selections

2 posts, 0 answers
  1. Philip
    Philip avatar
    1 posts
    Member since:
    Mar 2014

    Posted 31 Jul 2014 Link to this post

    Hi, 

     Is there a method of the Grid (MVC or html) that would generate a url hash representing the current sorting & filtering selections?

    Something like '#gridoptions=(sort:column1.desc,column3.desc+filter=state:CA)"

    Likewise is there a method that can consume this string back again so that the next async load represents the selections in the hash string?

    A demo with Angular or Sammy would be great too, if one exists.

    It would be useful to have this in order to
    * preserve sorting & filtering on page refreshes
    * allow users to book mark a page with a specific sort & filter 
    * persist this information in a store for retrieval later for metrics or user history features

    Thanks!


  2. Daniel
    Admin
    Daniel avatar
    2231 posts

    Posted 04 Aug 2014 Link to this post

    Hello Philip,

    Hashes are not supported but it is possible to use a query string parameters as demonstrated in this code-library project.

    Regards,
    Daniel
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top