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

GGC Read only cells...highlight a row

Thread ID:





89587 Aug 28,2009 03:43 PM UTC Aug 31,2009 12:24 PM UTC WinForms 1
Tags: GridControl
David Baxter
Asked On August 28, 2009 03:43 PM UTC

I have been scouring the forums here and can't seem to find out how to get it so that a GGC control doesn't go into edit mode.

Furthermore, I am hoping that I can easily make it so that if I hover over a row it gets all orangy (like the header row) and which I click on any cell that it highlights the entire row and turns it orangy...



Lingaraj S [Syncfusion]
Replied On August 31, 2009 12:24 PM UTC


Thank you for your interest in Syncfusion products.

If you want to prevent the Editing mode in GridGroupingControl, then please try using TableControlCurrentCellStartEditing event in GridGroupingControl to achieve this behavior.

Refer the code below:

this.gridGroupingControl1.TableControlCurrentCellStartEditing += new GridTableControlCancelEventHandler(gridGroupingControl1_TableControlCurrentCellStartEditing);
void gridGroupingControl1_TableControlCurrentCellStartEditing(object sender, GridTableControlCancelEventArgs e)
e.Inner.Cancel = true;

If you want to highlight the Record based on your requirement, then please try using QueryCellStyleInfo event in GridGroupingControl to achieve this behavior.

Refer the sample from below link. it demonstrates your requirement in GridGroupingControl:

Please let me know if you have any queries.

Lingaraj S.


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

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