We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 05:10 AM

>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 05:23 AM

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

Loader.
Live Chat Icon For mobile
Up arrow icon