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

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

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

1 Reply

KB Kalaiarasan B Syncfusion Team August 13, 2012 05:25 AM UTC

Hi,

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

Regards,
Kalai

Loader.
Live Chat Icon For mobile
Up arrow icon