0
<mx:DataGrid id="grid" width="100%" height="100%" sortableColumns="true"
itemClick.ordersState="{_selectedOrder=grid.selectedItem.ordersState}"
selectable.ordersState="true" includeIn="locationsState, ordersState" >
<mx:columns >
<mx:DataGridColumn dataField="name" headerText="Name" includeIn="locationsState"/> ->ex Location grid
<mx:DataGridColumn dataField="locationTypeName" headerText="Type" includeIn="locationsState" /> ->ex Location grid
<mx:DataGridColumn dataField="uid" headerText="Number" includeIn="ordersState" /> ->ex Orders grid
<mx:DataGridColumn headerText="Order #" dataField="orderId" includeIn="ordersState"/> ->ex Orders grid
<mx:DataGridColumn headerText="Status" dataField="orderStatus" includeIn="ordersState"/> ->ex Orders grid
<mx:DataGridColumn dataField="customerName" headerText="Customer" includeIn="ordersState" /> ->ex Orders grid
</mx:columns>
</mx:DataGrid>
,改變供應商這樣合併2個DataGrid中爲一家擁有國家
private function _ws_result_order(e:ResultEvent):void
{
grid.dataProvider.ordersState = e.result;
}
private function _ws_result(e:ResultEvent):void
{
grid.dataProvider.locationsState = e.result;
}
我得到一個錯誤:
The children of Halo navigators must implement INavigatorContent. ReceiveIn.mxml /work/src/ui/fragments line 332 Flex Problem