This is a migrated thread and some comments may be shown as answers.

[Solved] detail table rows bgcolor should match parent's bgcolor

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Cheri Verdend
Top achievements
Rank 1
Cheri Verdend asked on 26 May 2008, 09:53 AM

All my details tables are expanded by default. I'd like to set the background color of every detail row to match the background color of its respective parent row. I assume it would be something along these lines:

Sub RadGrid1_ItemCreated(...)
   if itemcreated is a detail row
        determine if parent row is item or alternatingitem
        set detail row's background style to match item/alternating style         
   end if
End Sub

Is this possible? If so, could you please provide a sample code?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 26 May 2008, 11:12 AM
Tags
Grid
Asked by
Cheri Verdend
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or