The solution turns out to be very simple using rendererProviders...
<mx:AdvancedDataGrid>
<mx:rendererProviders>
<mx:AdvancedDataGridRendererProvider
columnIndex="0"
columnSpan="7"
depth="2"
renderer="mx.controls.advancedDataGridClasses.AdvancedDataGridGroupItemRenderer"
/>
</mx:rendererProviders>
</mx:AdvancedDataGrid>
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
Scott - FastLane wrote:
I have an AdvancedDataGrid with a Hierarchical data provider. The
Hierarchy is two levels deep. The top level objects have something like
5 attributes (columns) to display, while only the first attribute
(descrtipion) applies to their children. It was easy enough to get the
grid to display both levels correctly by just leaving the last four
columns blank for each child row, but my client has asked for the child
rows to not display the other four columns at all. They would like a
child row with a long description to be able to use the space of the
other columns rather than wrapping... Does anybody have any suggestions
for the best way to go about doing this? Any help is greatly appreciated.
Scott
--
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com <http://www.fastlanesw.com>