3 Replies Latest reply on Apr 14, 2009 3:39 AM by _Natasha_

    Complex requirements for working in icons in the AdvancedDataGrid

    nikos101 Level 2

      I have some complex requirements for working in icons in the AdvancedDataGrid

       

      I have an icon function that assigns one of the following icons

       

       

      [Embed(source="images/Icon_2_small.png")]
                  private var sentIcon:Class;
                  [Embed(source="images/Icon_3.png")]
                  private var confirmedIcon:Class;
                  [Embed(source="images/Icon_in.png")]
                  private var inIcon:Class;

       

       

      Each row in the  AdvancedDataGrid has one of the above icons.

       

      When a user clicks on a row I want to get the name of the icon the row is using from the event, is this possible? Also is it possilbe to change an icon dynamically with out having to refresh the dataprovider to call the icon functon again?

       

      Many thanks