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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Row Selection only

Thread ID:

Created:

Updated:

Platform:

Replies:

34242 Sep 6,2005 09:50 PM UTC Sep 6,2005 10:37 PM UTC WinForms 1
loading
Tags: GridControl
Clinton Nielsen
Asked On September 6, 2005 09:50 PM UTC

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.

Administrator [Syncfusion]
Replied On 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;
}

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;