In our project we use the GridControl and
ComboBox as its celltype. The problem is:
when user doubleclicks the text of the ComboBox, the next item in the list is automatically selected and the text is highlighted. We do not want this behavior, we want the original text to stay and the text get highlighted.
How can we do that?
ADAdministrator Syncfusion Team September 29, 2004 06:08 PM UTC
To avoid this behavior, I think you would have to derive GridComboBoxCellModel and GridComboBoxCellRenderer to create your own custom combobox celltype. Then in your renderer class, override OnEditPartMouseDown and do not call the baseclass.
ADAdministrator Syncfusion Team September 29, 2004 06:54 PM UTC
Here is a thread that has a sample in it.
DLDongxian LiSeptember 30, 2004 10:35 AM UTC
Thanks. Is there any plan to include this feature in the ComboBox in the future release?
It would be nice if we don''t have to derive our own ComboBoxes.
I think it is a useful feature that many people would like to have.
>Here is a thread that has a sample in it.
ADAdministrator Syncfusion Team September 30, 2004 11:52 AM UTC
I have added this (Item 587) to our Open Issues database as a feature request.