1 Reply Latest reply on Nov 16, 2006 2:52 AM by M. Huisman

    How to use alternating stylenames in repeater

    romanczar Level 1
      Hi!
      I have a Repeater with a VBox in it and some elements. I want to achieve that every second (even) VBox has another stylename than the odd ones. So that I have "alternating" design.

      <mx:Repeater id="rep" dataProvider="...">
      <mx:VBox styleName="<ALTERNATING>">
      ......
      </mx:VBox>
      </mx:Repeater>

      Does somebody have an idea how to do that?