Good afternoon,
I am missing something somewhere and I am in need of help.
What I am trying to do is change the EditType of a checkbox column for a GridEx row that I am adding at runtime. The code I have at the moment is as follows:
Private Sub FillGroupGrid(asset as AssetDetail)
Dim row As GridEXRow = jgrdGroup.AddItem()
row.BeginEdit()
row.Cells(COL_NAME_GROUP_ID).Value = asset.GroupID
row.Cells(COL_NAME_NAME).Value = asset.Name
row.Cells(COL_NAME_SELECTED).Column.EditType = IIf(asset.InUse, EditType.NoEdit, EditType.CheckBox)
row.IsChecked = asset.Selected
row.EndEdit()
End Sub
The rows are added without a problem, but the edit type of the checkbox column won't change from EditType.CheckBox to EditType.NoEdit if the asset.InUse is true. When I created the column in the GridEx designer I set the EditType to CheckBox and that is where it stays.
If it makes any difference I am using Visual Studio 2013 and the GridEx control is 3.5.0.0
If you could point me in the right direction, or at some documentation / examples I would be grateful. I've tried Google, but it hasn't bought me any joy.