how can i set default value of checkbox in datagrid = False, the default value is "", it is greyed out and checked
Posted on 2004-08-24
hi, this is how i add a checkbox column to the datagrid, in the datatablestyle
Dim CheckBox1 As DataGridBoolColumn
CheckBox1 = New DataGridBoolColumn
CheckBox1.MappingName = "Checkbox1"
CheckBox1.ReadOnly = False
CheckBox1.Width = 1
and now the grid is displayed, but all the checkboxes are type of greyed out, but checked, but the value is "" , as opposed to true or false, how can i have the default value in the checkbox = False?
the syncfusion sets the default row by row.
tCust.Rows["Current'] = true;
i use a dataview to set the databinding for the datagrid
i can supply a demo piece of code if needed