Home Forums WinForms controls Xceed Grid for WinForms Reordering columns

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #12966 |

    It is possible to reorder the columns in a populated grid through the user interface but it is possible to do the same thing from code? I have a grid that is being bound to a collection in code but I need to reorder the columns and am having some difficulty doing this.

    Imported from legacy forums. Posted by TechnoTone (had 2519 views)

    Xceed Support
    Member
    Post count: 5658

    Hello,

    You can set each column’s <a href=”http://doc.xceedsoft.com/products/gridNet/ref/xceed.grid.column.visibleindex.html”>VisibleIndex</a&gt; property. This will place the columns in the desired order.

    Imported from legacy forums. Posted by Jenny [Xceed] (had 251 views)

    User (Old forums)
    Member
    Post count: 23064

    Thanks. I knew it would have to be simple – I just couldn’t see it.

    Imported from legacy forums. Posted by TechnoTone (had 3576 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.