Columns Reorder

2 posts, 0 answers
  1. DogBizPro
    DogBizPro avatar
    158 posts
    Member since:
    Aug 2013

    Posted 31 Jan 2018 Link to this post

    Can someone help me with the logic to save the column order when they are reordered?

    We are using the grid for reporting and want to allow our clients to drag and drop the fields, sort them, etc. When there is a post back the order is reset. I have put in logic that works great of there is only one column that is reordered, but if there are 2 or more it doesn't work. There has to be a much easier way to save the current column order on post back?

    We are using AutoGenerateColumns="true". Everything is working perfectly except moving more than one column. Please help ASAP!!

  2. Rumen
    Admin
    Rumen avatar
    14098 posts

    Posted 02 Feb 2018 Link to this post

    Hello Stephanie,

    Using the Persistence Framework you can store and restore the columns order as shown in this demo: Persisting Grid Settings.

    Best regards,
    Rumen
    Progress Telerik
    Try our brand new, jQuery-free Angular 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