2 Replies Latest reply on Sep 27, 2010 9:21 AM by gengwang

    "change" event for ListBase control (Spark) not dispatched by default?

    gengwang Level 1



      I have an s:ListBase that takes an ArrayCollection of data items and renders each of them using a custom ItemRenderer.


      When the renderers are clicked, I can only see "click" events being dispatched but not the "change" or "changing" or "valueCommit"; the "selectedIndex" is set to and stays -1 all the time (regardless of whether you clicks on an item or not).


      I notice that if I change the s:ListBase to s:List, all these events can be caught and the selection all works fine. Is there something obvious I am missing on ListBase? Or does this has to do with the ItemRenderer?


      Thanks for any lead!