AIR版的通讯簿(十六)

 <mx:DataGridColumn headerText="操作" width="60" dataField="customer_id">
      <mx:itemRenderer>
       <mx:Component>
        <mx:HBox verticalAlign="middle" horizontalAlign="center">
         <mx:LinkButton focusEnabled="false"  width="10"
                                               icon="@Embed(source='assets/images/edit.png')"
                                               click="outerDocument.editCus()"/>
                                    <mx:LinkButton focusEnabled="false"  width="10"
                                               icon="@Embed(source='assets/images/delIcon.png')"
                                               click="outerDocument.deleteCus()"/>
        </mx:HBox>
       </mx:Component>
      </mx:itemRenderer>
     </mx:DataGridColumn>
    </mx:columns>
   </mx:DataGrid>
  </mx:VBox>

你可能感兴趣的:(AIR版的通讯簿(十六))