Determining if a ComboBox is a CheckedListBox or not

Hi, My GGC Grid also has a column that contains a normal combobox and another column that contains a CheckedListBox that allows checking and unchecking of items. I know that if i want to check whether a current cell in a column is a combobox, i check if the cellType = "ComboBox". However, is it possible to check if a dropdown is a normal combobox or a CheckedListBox. Regards David

2 Replies

TH Thabo July 6, 2005 10:10 AM UTC

>Hi, > >My GGC Grid also has a column that contains a normal combobox and another column that contains a CheckedListBox that allows checking and unchecking of items. > >I know that if i want to check whether a current cell in a column is a combobox, i check if the cellType = "ComboBox". However, is it possible to check if a dropdown is a normal combobox or a CheckedListBox. All of the above is done in a TableControlCurrentCellDeleting event of the GGC. >Regards >David


AD Administrator Syncfusion Team July 6, 2005 10:23 AM UTC

You can try checking the typeof(e.TableControl.CurrentCell.Renderer). This should be different for teh two cell types you mentioned.

Loader.
Up arrow icon