1 Reply Latest reply on Mar 28, 2010 3:10 PM by NW987

    Access row data item from datagridcolumn itemrenderer

    NW987 Level 1

      I'm using an item renderer to put a linkbutton within a datagridcolumn. It's rendering fine, but I need to access the row data for each record within the link button.

       

       

       

      <mx:DataGridColumn

       

      headerText="Form Location" width="80" id="dgcFormLink" sortable="false" >

       

      <mx:itemRenderer>

       

      <mx:Component>

       

      <mx:LinkButton label="View File" click="outerDocument.clickHandler({item.formArchiveLoc})" />

       

      </mx:Component>

       

      </mx:itemRenderer>

       

      </mx:DataGridColumn>

       

       

       

       

       

       

       

       

       

       

       

      I'm trying to use the syntax {item.formArchiveLoc} and {data.formArchiveLoc}, but neither are working.