Home Forums WinForms controls Xceed Grid for WinForms C# column position change "how to" question

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

    After I link the grid to my access database the columns will be added by the access’s default position, from top to bottom. So, I can swap the columns position like putting the last column (right most) at the very beginning of the grid (left most pos.)?

    tks for any help!

    Imported from legacy forums. Posted by EFileTahi-A (had 2430 views)

    User (Old forums)
    Member
    Post count: 23064

    The user can do this by dragging the header of the column around, but you can also do it in code. Each column has a property <b>VisibleIndex</b>. That property is the visible index of the column. To move a column to the very beginning, set the VisibleIndex property to 0.

    Imported from legacy forums. Posted by Tommy (had 301 views)

    User (Old forums)
    Member
    Post count: 23064

    Thanks tommy. VisibleIndex just kick ass 😉

    – THREAD RESOLVED –

    Imported from legacy forums. Posted by EFileTahi-A (had 3485 views)

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