Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
543
Applying Css to child band and parent band columns
posted

Hello,

        I am using WebHierarchicalDataGrid v11.2. In my grid I need to apply style sheet to the child band columns. The header, footer as well as cells of the child band columns should be in different color according to the style sheets. In normal case when I do not have any child band columns I'm able to apply the style sheet the following way,

grdGrid2.Rows(0).Items(0).CssClass = "StyleSheet"

But in case when there are child bands present, I am not even able to access grdGrid.Rows(0). Here the count of rows equals to 0.

Also I am creating grid columns dynamically at run time.

I need to apply style sheet to child band as well as parent band columns. What is the way to achieve this? Please help.

Thanks

Amruta D

 

 

Parents Reply Children
No Data