Grid Customization

3 posts, 0 answers
  1. WILLIAM
    WILLIAM avatar
    134 posts
    Member since:
    Jun 2012

    Posted 17 Jan 2013 Link to this post

    Good Afternoon.  I'm working some issues with customizing the GridView.  I looked at the online demos and I didn't see anything related to customizing; although I could have missed it.  Do have any online documentation that I can take a look at to see what you are handling out of the box?  The specific issue I'm looking at is the order of the columns in the grid (not the sort order).

    I have tried setting the Column.DisplayIndex but some columns are in the correct position, and some are not.

    Thanks!!
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 18 Jan 2013 Link to this post

    Hello,

    Indeed, we do not have a demo showing how to customize the Display positions (the DisplayIndex-es) for the columns. I have attached a sample demo showing how you can change the DisplayIndex at runtime.

    Would you please check the solution and let me know how have you implemented your logic, so that you got some columns to not respect this property?

     
    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. WILLIAM
    WILLIAM avatar
    134 posts
    Member since:
    Jun 2012

    Posted 18 Jan 2013 Link to this post

    I actually figured it out on my own, and I should have thought of this before I posted.  When I was saving the customization, I was just using the order of the columns in the collection; not the DisplayIndex.  Duh!!

    Thanks for your help though
Back to Top