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

GGC cell template

Hi,

Is there a way to diable the selection of cell. Instead when the user selects any row, the entire row should be selcted and user shouldn't be able to click on any cell of GGC?


1 Reply

NA Nisha Arockiya A Syncfusion Team September 30, 2008 12:47 PM UTC

Hi Avi,

By handling TableControlCurrentCellStartEditing event of GridGroupingControl it is possible to cancel the clicking on current cell using

e.Inner.Cancel=true;

after setting the ListBoxSelectionMode of TableOptions to be SelectionMode.One and AllowSelection to be GridSelectionFlags.Any.Please refer to the following code snippet.


this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.One;
this.gridGroupingControl1.TableOptions.AllowSelection = GridSelectionFlags.Any;



Please let me know if this helps.

Regards,
Nisha



Loader.
Live Chat Icon For mobile
Up arrow icon