• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to add two itemrenders to advanced data grid column

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have an Advanced data grid.
<mx:AdvancedDataGrid dataProvider="{new HierarchicalData(xml)}" >
<mx:columns>
<mx:AdvancedDataGridColumn dataField="@someField">
<mx:itemRenderer>
<fx:Component>
<mx:Label htmlText="{data.@someField}" />
</fx:Component>
<mx:itemRenderer>
</mx:AdvancedDataGridColumn>
</mx:columns>
</mx:AdvancedDataGrid>

Now i want to add colors to this column. Is it possible that i use another item renderer to do that. I tried adding item renderer to this column but it is erroring out. I do not want to use style functino as it the dataprovider is huge and it slows down the screen when i scrol up and down.
 
reply
    Bookmark Topic Watch Topic
  • New Topic