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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridGroupingControl - Events When Double Clicked

Thread ID:

Created:

Updated:

Platform:

Replies:

48558 Aug 30,2006 06:16 PM UTC Sep 1,2006 09:50 AM UTC WinForms 2
loading
Tags: GridControl
Badri Rajani Kanth
Asked On August 30, 2006 06:16 PM UTC

Hi,

I am using V 3.2.1.0, GGC.
When we double click on GGC, the events fired in the order are:

_SelectedRecordsChanging
_SelectedRecordsChanged
_TableControlCellClick
_TableControlCellDoubleClick

These will change the record selection also. I want to stop that. I think I can do this by skipping first three events some how.

Is there any event that gets fired before all the above four events? And in which we can identify double click. Or that should get fired only when double clicked (not when single cliked/using arrows etc).

Thanks & Rgds
Rajani Kanth

Administrator [Syncfusion]
Replied On August 31, 2006 12:12 PM UTC

Hi Rajani,

Do you want to avoid the selected record changing when doubleclicking a cell?

If so, this will affect the users UI experience. The reason is as follows. The default behavior is to move the selected record on the initial mousedown. This gives the user the immediate feedback on his click. But if you want to wait to see if the user doubleclicks before moving the selected record or not, then the user experiece will be, on the initial mousedown, he sees nothing. On the following mouseup he sees nothings, and there is a wait of SystemInformation.DoubleClick time before it is know whether or not the selected record should be moved. Now it is possible to set this up with a Timer waiting SystemInformation.DoubleClick after the first click to see if the user double clicks or not. But it may not be the UI experience he wants his user to have. Attached is a very rough sample. Notice the delay when you click a record. But if you double click a record no record is selected.

Here is a sample.
http://www.syncfusion.com/Support/user/uploads/GGC_StopRecordChanging_38abe9e6.zip

Regards,
Haneef

Administrator [Syncfusion]
Replied On September 1, 2006 09:50 AM UTC

Thank You Haneef,

Your example gave me clear picture. Thank You..
This may trigger user experience issues. May be we will relook into this later.

Rgds
Rajani Kanth Badri

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

;