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.

GGC cell ReadOnly

Thread ID:





41616 Mar 7,2006 08:42 AM Mar 8,2006 12:12 AM Windows Forms 1
Tags: GridControl
Asked On March 7, 2006 08:42 AM

Hi, I am using GGC.I have a grid with 5 columns.In the 4th column i have DropDown.Now on change in value of 4th column corrospondig cell in 5th column should be readonly or not. i dont want to make whole column readonly just one cell base on the value in 4th column. So i am using TableControlCurrentCellCloseDropDown event for that. But how to make a perticular cell Readonly from this event. i tried this e.TableControl.CurrentCell.Renderer.CurrentStyle.ReadOnly = true; but its not working.... Can you please giva any solution... Thank Vihar

Administrator [Syncfusion]
Replied On March 8, 2006 12:12 AM

Hi Vihar, The intent behavior can be achieved by handling the TableDescriptor.QueryCellStyleInfo event. Please refer the sample in the forum thread that deals with a similar issue. Let us know if you need any further assistance. Regards, Calvin.


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.