Row Selection only

What I need is when the user clicks on any cell in the grid, it is *exactly* as though the user clicked on the corresponding row header -- the entire row is selected and there is no CurrentCell (CurrentCell = -1,-1). The tricky part is that this needs to work even if the user is holding down the ctrl or shift keys (or both) -- multiple row selection still needs to be possible. How would such a thing as this be implemented? Thanks so much.

1 Reply

AD Administrator Syncfusion Team September 6, 2005 10:37 PM UTC

Try setting the property. this.gridDataBoundGrid1.ListBoxSelectionMode = SelectionMode.MultiExtended; And handle this event.
private void gridDataBoundGrid1_CurrentCellActivating(object sender, GridCurrentCellActivatingEventArgs e)
{
	e.ColIndex = 0;
}

Loader.
Up arrow icon