2010-02-12 65 views

回答

2

創建網格的設計一個新的編輯器庫項目(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 
相關問題