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.
Syncfusion Feedback

GGC : How to change readonly property of a childtable cell depending on another cell value?

Thread ID:

Created:

Updated:

Platform:

Replies:

38838 Dec 20,2005 10:15 AM UTC Jan 29,2018 04:26 AM UTC Windows Forms 5
loading
Tags: Grouping
Anupama
Asked On December 20, 2005 10:15 AM UTC

I have created a GGC containing a master table and its related detail table. The master table contains "ApprovalState", "CompletedDate", "Outcome". The detail table contains "Role", "Outcome" and "Notes" to name a few fields. I have made all the cells in the GGC readonly=true by default. I need to now set the readonly property of the Outcome and Notes cells of *certain* child (detail) table cells to false, depending upon the value of the "Role" cell. More specifically, if the "Role" field of a child row is "Underwriter" I need to enable him to enter values in the "Outcome" and "Notes" fields corresponding to his row only. All other rows and fields must be uneditable for him. How can I achieve this?

Administrator [Syncfusion]
Replied On December 21, 2005 05:32 AM UTC

Hi Anupama, By handling the QueryCellStyleInfo event, the styles of individual cells can be changed. See the attached sample for details. ConditionallySettingRowStyle.zip Regards, Leo.

Administrator [Syncfusion]
Replied On December 21, 2005 06:13 AM UTC

Thanks! This is exactly what I was looking for. >Hi Anupama, > >By handling the QueryCellStyleInfo event, the styles of individual cells can be changed. See the attached sample for details. > >ConditionallySettingRowStyle.zip > > >Regards, >Leo.

Anupama
Replied On December 21, 2005 06:14 AM UTC

Thanks! This is exactly what I was looking for. >Hi Anupama, > >By handling the QueryCellStyleInfo event, the styles of individual cells can be changed. See the attached sample for details. > >ConditionallySettingRowStyle.zip > > >Regards, >Leo.

D E
Replied On January 28, 2018 01:39 PM UTC

Thank you

Arulpriya Ramalingam [Syncfusion]
Replied On January 29, 2018 04:26 AM UTC

Hi Denis, 
 
Thanks for your update. 

We are glad to hear that the provided solution was resolved your scenario.   
 
Please let us know, if you have any other queries. 
 
Regards, 
Arulpriya 


CONFIRMATION

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.

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

;