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.

Control User Input

Thread ID:





38721 Dec 16,2005 09:20 AM Dec 16,2005 09:48 AM Windows Forms 1
Tags: Grouping
Asked On December 16, 2005 09:20 AM

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 09:48 AM

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.

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.