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