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
close icon

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.
Live Chat Icon For mobile
Up arrow icon