3 Replies Latest reply on Apr 24, 2007 8:05 AM by Blue_Pixel

    button in dataGrid

    konlin77 Level 1
      Hi,

      I have a dataGrid with a button for each record in the grid. If the user clicks the button, i want to call a function, but i keep receiving this message "call to possibly undefined method" - I thought i could use the "outerDocument" feature, but have had no luck. Any one have idea?

      <mx:DataGridColumn headerText="Some Header" width="90">
      <mx:itemRenderer>
      <mx:Component>
      <mx:HBox horizontalAlign="center">
      <mx:Button label="Some Label" click="click1()" width="90"/>
      </mx:HBox>

      </mx:Component>
      </mx:itemRenderer>
      </mx:DataGridColumn>