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

CurrentCellActivating event killing CurrentCellControlDoubleClick

Thread ID:





24570 Feb 7,2005 06:41 PM UTC Feb 7,2005 07:44 PM UTC WinForms 3
Tags: GridControl
M. Laughlin
Asked On February 7, 2005 06:41 PM UTC

In order to make an entire row of a grid (doesn''t seem to matter which kind) highlight when any cell in the row is clicked, the example given uses a combination of ListBoxSelectionMode=SelectionMode.One and subscribing to the CurrentCellActivating event and setting the ColIndex=0. But this prevents the CurrentCellControlDoubleClick event from firing. Is there any work-around?

Administrator [Syncfusion]
Replied On February 7, 2005 07:24 PM UTC

CurrentCellControlDoubleClick will only be fired when the current cell was switched into edit-mode (textbox got focus) on the first click and you click a second time inside the textbox. Since you do not active the current cell the textbox inside the cell will also not get the focus. What you should look for instead is the CellDoubleClick event. If that does not work look for Control.DoubleClick. Stefan

Administrator [Syncfusion]
Replied On February 7, 2005 07:28 PM UTC

Try using the technique in \Syncfusion\Essential Suite\\Windows\Grid.Windows\Samples\Quick Start\HighlightCurrentRow. CurrentCellControlDoubleClick is hit in that sample.

M. Laughlin
Replied On February 7, 2005 07:44 PM UTC

The CellDoubleClick is EXACTLY the right thing. Thank you!


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon