GridView columns not in the correct order

2 posts, 0 answers
  1. David
    David avatar
    4 posts
    Member since:
    Jan 2011

    Posted 18 Dec 2011 Link to this post

    My problem is simple.

    The order in which I build the columns in XAML is not the order that they are being displayed. 

    <telerik:GridViewDataColumn DisplayIndex="4" DataMemberBinding="{Binding Area}" Header="Area" />


    I have tried using DisplayIndex but it does not seem to work consistantly.

    This column is showing up as column 15 not 4 (or 5 if Display Index is zero based).

    How can we set column order?

    Please help.  This has taken a lot of my time and it seems to be a very simple problem!

    Thanks for your help!




  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 19 Dec 2011 Link to this post

    Hello David,

    I have tried to reproduce the issue you reported, but still without any success. Would you take a look at the sample attached and let me know whether you can get the same behavior on it ?
     

    Regards,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top