Have you tried using an item renderer instead?
--- In flexcoders@yahoogroups.com, Nick Middleweek <n...@...> wrote:
>
> Hello,
>
> I've got a groupingCollection as the dataProvider for my adv data grid (ADG)
> and I've got a styleFunction attached to the ADG to set the text color to
> grey.
>
> The groupingCollection is collapsed to start with and when I expandthe tree
> nodes, the rows come into show but they are rendered in the old color during
> the time it takes for the grouping node to expand, then it switches to the
> grey color.
>
> I can only assume that the styleFunction is being executed after the
> grouping is fully expanded.
>
> Is there a way around this because it doesn't behave this way with a flat
> dataProvider and it's causing a visible color change which isn't great on
> the eye...
>
>
> Thanks in advance,
> N
>