Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
UltraComboEditor with checkBox in grid.
posted

Hi,

 

I have added a ComboEditor in a grid cell. I want to have multiple selections, so the CheckBoxStyle is CheckStyle.CheckBox.

 

I have created a DataTable with DataColumns in code and assigned to grid.DataSource.

(1) For the ComboEditor, what is the type of the DataColumn?

DataColumn dc = new DataColumn ("colName", typeof (???))';

(2) How can I access the check boxes when I create the grid? In the InitializeRow event of the grid, I create a ComboEditor and assign it to grid.EditorComponent, but when I fill the combeEditor items with ValueListItems with the CheckState = CheckState.Checked, none of the check boxes are checked. Only CheckState.Indeterminate will show a gray checked checkbox.

 

Regards and thanks.

 

 

 

Parents Reply Children
No Data