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
close icon

MultipleColumnForeignKeys, fast click value change

Hi,

In the MultipleColumnForeignKeys.

How come when I double click on the DropDown text (not the dropdown button) the value changes?
Same thing happens when I click very fast on random dropdown text.

I have Essential Studio v5.

Thanks!


2 Replies

S_ Stephane _ March 2, 2009 05:48 PM UTC

I see this is standard behavior.



RC Rajadurai C Syncfusion Team March 3, 2009 02:51 PM UTC

Hi Stephane,

Thanks for your interest in Syncfusion products.

Yes. It is the default behavior set for dropdown type cells. The value changes if doubleclick is made on the dropdowntext. If you don't need this behavior, you can set the AllowDoubleClickChangeSelectedIndex property of that cellmodel to false.

Please refer to the following code.

//Declaration part
GridDropDownGridListControlCellModel model;

//in Form1_Load
model = this.gridGroupingControl1.TableModel .CellModels["ForeignKeyCell"] as GridDropDownGridListControlCellModel ;
model.AllowDoubleClickChangeSelectedIndex = false;


Regards,
Rajadurai


Loader.
Live Chat Icon For mobile
Up arrow icon