Grid column reordering not working fine

3 posts, 1 answers
  1. Jesil
    Jesil avatar
    15 posts
    Member since:
    Aug 2019

    Posted 19 Dec 2019 Link to this post

    https://stackblitz.com/edit/react-1nyjvl?file=Hello.js

     

    Hi,

    i had a problem in getting the index position of grid column, when I using the column reordering property.  Actually it;s working fine, but when refreshing the page, column where reset. 

    in my Grid: if I moving the ID column to near after any column, how can I  save the current position of ID after reloading.

  2. Answer
    Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2206 posts

    Posted 23 Dec 2019 Link to this post

    Hello Jesil,

     

    Please note that the Grid provide a way to control it's state using props and events, however preserving the state between page reloads rely enterily on custom implementation based on the project requirements. Possible solution is to preserve the column reorder state in a cookie - for your convenience I created the following example which demonstrates this behavior:

    Regards,
    Vladimir Iliev
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Jesil
    Jesil avatar
    15 posts
    Member since:
    Aug 2019

    Posted 26 Dec 2019 in reply to Vladimir Iliev Link to this post

    thank you.. now we can save current index position on DB  
Back to Top