0 Replies Latest reply on Dec 12, 2010 11:17 AM by dpark1113

    Accessing itemRenderer in Spark List to change value or passing two different data to itemRenderer?

    dpark1113 Level 1

      Hi,

       

      I am binding XML data to List with custom itemRenderer.  I know how to do this part, but what I can't figure it out is passing another value to itemRenderer based on XML data. 

       

      Basically I have two labels in itemRenderer,

       

      <s:Label id="LabelA" text="{data.title}"/>

      <s:Label id="LabelB"/>

       

       

      I want to pass "data.title" value to call RemoteObject and assign returned value to LabelB.  What is the best way to approach?

       

      Thanks!