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.
Unfortunately, activation email could not send to your email. Please try again.

GGC cell template

Thread ID:

Created:

Updated:

Platform:

Replies:

76815 Sep 25,2008 01:34 AM Sep 30,2008 08:47 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 25, 2008 01:34 AM

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?


Nisha Arockiya A [Syncfusion]
Replied On September 30, 2008 08:47 AM

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



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.

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.

;