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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MultipleColumnForeignKeys, fast click value change

Thread ID:

Created:

Updated:

Platform:

Replies:

79863 Mar 2,2009 04:48 PM UTC Mar 3,2009 02:51 PM UTC Windows Forms 2
loading
Tags: Grouping
Stephane _
Asked On March 2, 2009 04:48 PM UTC

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!


Stephane _
Replied On March 2, 2009 05:48 PM UTC

I see this is standard behavior.


Rajadurai C [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;