[flexcoders] Re: AdvancedDataGrid changing background color of Group Headers
--- In flexcoders@yahoogroups.com, "anandvardhan.flex" <[EMAIL PROTECTED]> wrote: > > Hi, > > But it is not going to solve my issue. The issue is to change color of > only that row which has other childs in it. So when your styleFunction gets the reference to the data object, you're telling me that there is absolutely _nothing_ in that data that gives you any clue as to whether it is a parent or a child? At all? -Amy
[flexcoders] Re: AdvancedDataGrid changing background color of Group Headers
Hi, But it is not going to solve my issue. The issue is to change color of only that row which has other childs in it. Anand --- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com, "anandvardhan.flex" > wrote: > > > > I need to access the first row of each group in AdvancedDataGrid, and > > change its background color. is there any way to do it. I found one > > way accessing the column using GroupItemRenderer but it only controls > > the column which groups the grid. > > > > The data property of your itemRenderer will contain the same > information regardless of column. > > HTH; > > Amy >
[flexcoders] Re: AdvancedDataGrid changing background color of Group Headers
--- In flexcoders@yahoogroups.com, "anandvardhan.flex" <[EMAIL PROTECTED]> wrote: > > I need to access the first row of each group in AdvancedDataGrid, and > change its background color. is there any way to do it. I found one > way accessing the column using GroupItemRenderer but it only controls > the column which groups the grid. > The data property of your itemRenderer will contain the same information regardless of column. HTH; Amy