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.

How to disable a cell in GroupingGridControl

Thread ID:





52912 Dec 5,2006 08:23 PM Dec 6,2006 12:09 AM Windows Forms 1
Tags: Grouping
Pawan Adur
Asked On December 5, 2006 08:23 PM

i need to disable a cell in GridGroupingCOntrol that cell has a DropDown as a child.can any one suggest me the technique

Administrator [Syncfusion]
Replied On December 6, 2006 12:09 AM

Hi Pawan,

You can handle the QueryCellStyleInfo event and set Style.Enabled/Style.Clickable property to FALSE to disable the dropdown cell in a grid. Here is a code snippet.

//Code snippet disable the (5,5) cell.
private void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
if( e.TableCellIdentity.ColIndex == 5 && e.TableCellIdentity.RowIndex == 5)
e.Style.Enabled = false;
e.Style.Clickable = false;
Best Regards,


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.