I have a problem with a checkedit in DevExpress XtraGrid control.
I've created unbound column in code (not via wizard), and that checkbox can not be checked by mouse.
Here is my code:
Private Sub DataViewFrm_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim data As New DataTable
data=getDataTable("select....")
gridViewer.DataSource = data
Dim Tick As New RepositoryItemCheckEdit()
gridViewer.Refresh()
Dim unbColumn As GridColumn = gridvwViewer.Columns.AddField("Coba")
unbColumn.VisibleIndex = gridvwViewer.Columns.Count
unbColumn.UnboundType = DevExpress.Data.UnboundColumnType.Boolean
unbColumn.OptionsColumn.AllowEdit = True
unbColumn.OptionsColumn.ReadOnly = False
gridvwViewer.Columns(8).ColumnEdit = Tick
End Sub
Here is the result: 