Home Forums WinForms controls Xceed Grid for WinForms How to add checkbox to grid column vb.net

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

    Hi

    I am looking for an example of how to add a column to an existing grid and then make that column a checkbox, written in vb.net.

     Thanks

     Nick Steele

    Imported from legacy forums. Posted by Nick (had 681 views)

    User (Old forums)
    Member
    Post count: 23064

    Dim unboundColumn As New Column(“new column”, GetType(Boolean))

    Dim wcb As New WinCheckBox()

    unboundColumn.CellEditorManager =

    New CheckBoxEditor(wcb)

    unboundColumn.CellViewerManager =

    New CheckBoxViewer(wcb)

    GridControl1.Columns.Add(unboundColumn)

     

    Imported from legacy forums. Posted by André (had 749 views)

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