1 Reply Latest reply on Feb 13, 2010 12:37 PM by Shongrunden

    itemrenderer skin state question

    Achtepa

      Hi all,

       

      I have a spark list control that uses an item renderer (spark itemrenderer) which contains a spark panel. That spark panel uses a custom skin for a collapsing it. Everything works fine to collapse / open the component inside the list. However, i'm trying to collapse all / expand all on click. Any ideas ? I tried overriding the set data function and using an attribute like isCollapsed and setting the panel.skin.currentState to collapsed but that does something weird, it collapses and opens it back up.

       

      Not sure if anybody has any other solutions for that.

       

      Thanks,

      Joe.