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 to disable a cell in GroupingGridControl

Thread ID:





52912 Dec 6,2006 01:23 AM UTC Dec 6,2006 05:09 AM UTC WinForms 1
Tags: Grouping
Pawan Adur
Asked On December 6, 2006 01:23 AM UTC

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 05:09 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to 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