0 Replies Latest reply on Aug 10, 2013 3:11 AM by BornA

    Customized itemRenderer with default and limited items

    BornA

      In my flex project I have a list with customized itemRenderer. I will provide data from a XML file. I want this itemRenderer

       

      1. Always contains only 6 items and not less and not more
      2. If the result of XML file contains less than 6 items (e.g 3 items), put the rest of items (remained 3 ones) a default item.

       

      See screenshot:

       

      customItemR.png

       

      Anybody has any suggestion?

       

      P.S: Sorry, I don't know why the quality of attached image is so low!