0
我想在的DevExpress的XtraGrid中列,以便添加複選框這個我應該怎麼辦如何在的DevExpress XtraGrid中添加複選框
我想在的DevExpress的XtraGrid中列,以便添加複選框這個我應該怎麼辦如何在的DevExpress XtraGrid中添加複選框
創建網格的設計一個新的編輯器庫項目(CheckEdit)(下在位編輯器庫),並把它添加到列的ColumnEdit財產(下欄)
編輯:添加編程
Dim repstryItemCheckEdit As New RepositoryItemCheckEdit
GridControl.RepositoryItems.Add(repstryItemCheckEdit)
Dim chckEdtColumn As GridColumn = myGrid.Columns.AddField("Select")
With chckEdtColumn
.VisibleIndex = myGrid.Columns.Count
End With
myGrid.Columns.Add(grsSalColumn)
myGrid.Columns("Select").ColumnEdit = repstryItemCheckEdit