4 Replies Latest reply on May 9, 2008 1:28 PM by Tikis_Mikis

    Access current column dataField from within an itemRenderer

    Tikis_Mikis
      In AS3 I have an itemrenderer for a DataGrid that is a custom LinkButton component - HOW can I let the itemrenderer know what column index is it at currently?? I need it so I can test for the of the column dataField since the data row that I have access to in the itemrenderer i have an index value 'edit' and I need to test that that value is the same as the dataField the itemrenderer is at so I can appropriately set the label.

      Can I possible do this? All my code is in AS3, no MXML used.

      Thanks!