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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do we configure this grid to not allow partially selecting rows?

Thread ID:





104698 Aug 10,2012 04:05 AM UTC Aug 13,2012 05:25 AM UTC WinForms 1
Tags: Grouping
Jason Glover
Asked On August 10, 2012 04:05 AM UTC

How do we configure this grid to not allow partially selecting rows?

People are currently able to select cells like in the screenshot attached.  We don't want them to be able to.

What do we want?
  • Only a single row at a time can be selected.
  • Only a WHOLE row can be selected (no partial rows).
Key to achieving this ought to be setting the following setting... 

GridGroupingControl TableOptions.AllowSelection = GridSelectionFlags.None

But we have done that and it still allows us to partially select multiple rows.

partial select_e68c52ce.zip

Kalaiarasan B [Syncfusion]
Replied On August 13, 2012 05:25 AM UTC


Please use the ListBoxSelection mode to make the Grid selectable only by rows and prevent selecting cells.

this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;// Multiple rows can be selected

this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.One;// allow to select only one row at a time

Please let me know if you have any concerns



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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