0 Replies Latest reply on Jul 27, 2011 12:43 AM by mikmiki

    Set a spark grid cell custom state on runtime for mobile.

    mikmiki

      Hi,

      I have a cutsom GridItemRenderer with two custom states- "normal" and "clicked".

      there is an image in the GridItemRenderer defined as follows:

      <s:Image

       

       

      id ="buyImage" source="@Embed('images/comboTri.png')" visible.normal="false" visible.clicked="true">

       

      i want on click event to set the state for the cell so ony the clicked cell will show the image.

      is it possible? how?