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

Control User Input

Thread ID:





38721 Dec 16,2005 02:20 PM UTC Dec 16,2005 02:48 PM UTC WinForms 1
Tags: Grouping
Asked On December 16, 2005 02:20 PM UTC

Hi All, My requirement is to make few cell in a partcular columns as read only and the other cells as editable(and should be in different backcolor). I am using GridQueryCellStyleInfoEvent to get my color in column, can I do for readonly data in same event ? for eg if(e.TableCellIdentity.ColIndex==4) { e.Style.BackColor=Color.Orange; } else { //Code for the cell to be readonly.. // Is it possible } Thanks Vinay

Administrator [Syncfusion]
Replied On December 16, 2005 02:48 PM UTC

Yes. Try setting e.Style.ReadOnly = true in the QueryCellStyleInfo event.


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