1 Reply Latest reply on Oct 16, 2007 4:27 AM by atta707

    button in dataGrid

    konlin77

      Hello i have created a datagrid with a button inside it. What i need to do is have the button label be tied to a parameter in an array collection. I am unsure of how to do this....

      <mx:DataGridColumn headerText="Number of boxes" width="200" dataField="BOXCOUNT">
      <mx:itemRenderer>
      <mx:Component>
      <mx:HBox horizontalAlign="center">
      <mx:Button label="{box count in the ac???}" click="{outerDocument.click()}" width="100"/> </mx:HBox>
      </mx:Component>
      </mx:itemRenderer>
      </mx:DataGridColumn>

      Would anyone know how to do this?
      thank you.