Working alternating 2 color renderer. Should give you a headstart:
oddColor and evenColor are defined in css file. You can justg hardcode them in
here. In took out data code and labels, left the skeleton ...
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="100%"
height="40"
autoDrawBackground="true"
useHandCursor="true"
buttonMode="true"
click="onItemClick(event)">
--drop your data here
C
From: Stephen
To: flexcoders@yahoogroups.com
Sent: Sun, August 29, 2010 3:34:23 PM
Subject: [flexcoders] Overriding Item Background In ItemRenderer Problem.
I can change the Label color but cant change the background color, its anying.
Can anybody suggest a solution.
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
autoDrawBackground="true">