2 Replies Latest reply on Mar 29, 2011 7:45 PM by Shongrunden

    Spark List, itemRenderer, causes [object, object] to be displayed

    Kristin95762 Level 1

      I'm a noob.

       

      I have 2 list boxes in my app. #1 is loaded with hardcoded data in the mxml file. #2 is populated with data from a sqlite table.

       

      I created a simple fade in item renderer that I found on http://blog.flexexamples.com/2010/06/25/fading-an-item-renderer-background-fill-on-a-spark -list-control-in-flex-4/

       

      I applied this itemRenderer to spark list #1, and it works fine.

       

      However, applying it to spark list #2 results in [Object Object] to be displayed for every data item.

       

      Can someone please explain?

       

      Thanks