Column Original Display Index

3 posts, 1 answers
  1. Anthony
    Anthony avatar
    63 posts
    Member since:
    Aug 2011

    Posted 04 Feb 2015 Link to this post

    Hi,

    I am defining the columns for a GridView in XAML and allow the users to reorder the columns. I added a context menu where the user can select to arrange the columns back in their original XAML order.

    I cannot see any property that has the original display index so I was going to store this in the Tag property. I just wanted to check first if there was a better way to do this?

    Thanks
    Anthony
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 05 Feb 2015 Link to this post

    Hi Anthony,

    There is indeed not such a property to hold the original display index. You can either use the approach you have in mind or rely on the original order of columns in RadGridView.Columns collection.

    Regards,
    Dimitrina
    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.

     
  3. Anthony
    Anthony avatar
    63 posts
    Member since:
    Aug 2011

    Posted 05 Feb 2015 in reply to Dimitrina Link to this post

    Hi,

    Thanks, using the order of the RadGridView.Columns collection sounds like the better solution.

    Regards
    Anthony
Back to Top