I''ve a column in my GDBG grid which is of type check box. Here while binding the data, a database column of type Varchar(1), which can have either ''Y'' or know ''N'' as values, as the source for that cell. That is, if the value is ''Y" i want the Checkbox to be checked and vice versa.. Plz help me out to sort this problem.
ADAdministrator Syncfusion Team September 8, 2004 01:01 AM
You can try setting the checkbox options (GridBoundColumn.StyleInfo.CheckBoxOptions) for that column to use "Y" and "N".
gbc.StyleInfo.CellType = "CheckBox";
gbc.StyleInfo.CheckBoxOptions.CheckedValue = "Y";
gbc.StyleInfo.CheckBoxOptions.UncheckedValue = "N";