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?
ADAdministrator Syncfusion Team February 7, 2005 02:24 PM
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.
ADAdministrator Syncfusion Team February 7, 2005 02:28 PM
Try using the technique in \Syncfusion\Essential Suite\220.127.116.11\Windows\Grid.Windows\Samples\Quick Start\HighlightCurrentRow. CurrentCellControlDoubleClick is hit in that sample.
MLM. LaughlinFebruary 7, 2005 02:44 PM
The CellDoubleClick is EXACTLY the right thing.