CurrentCellActivating event killing CurrentCellControlDoubleClick

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?

3 Replies

AD Administrator Syncfusion Team 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


AD Administrator Syncfusion Team February 7, 2005 07:28 PM UTC

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


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

The CellDoubleClick is EXACTLY the right thing. Thank you!

Loader.
Up arrow icon