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