Brilliant!  But I had to specify a depth so that the renderer only affects the 
group items but not 
the leaf nodes:

<mx:rendererProviders>
    <mx:AdvancedDataGridRendererProvider columnIndex="0"
        columnSpan="0" depth="1"
        
renderer="mx.controls.advancedDataGridClasses.AdvancedDataGridGroupItemRenderer"
 /> 
</mx:rendererProviders>

I can't imagine using grouping in an ADG any other way-- this method saves 
space by not 
having to dedicate a column to the group label.  You still might want a 
grouplabel column to 
shift the leaf nodes over to the right a bit for elegance, but it can be much 
narrower than would 
be required to accommodate the groupLabel text.

--- In [email protected], "sreeni_r" <[EMAIL PROTECTED]> wrote:
>
> 
> This should be possible by using
> 
> <mx:AdvancedDataGrid>
>   <mx:AdvancedDataGridRendererProvider columnIndex="0" 
>         columnSpan="0"                                                
> renderer="AdvancedDataGridGroupItemRenderer" />
> </mx:AdvancedDataGrid>
> 
> -Sreenivas
> 
> --- In [email protected], "adisak_impol" <adisak_impol@> 
> wrote:
> >
> > Hi guys,
> > 
> > Is is possible to customize the way grouping rows are rendered. 
> Specifically, colspan to all 
> > columns such the way OSX spotlight results did. I saw in examples 
> that customizing renderer 
> > is possible with RendererProvider. But is it work with grouping row 
> too ? If not, is there any 
> > work around to make it possible ?
> > 
> > Thanks
> >
>

Reply via email to