<local:CheckBoxDataGrid id="dg"
allowMultipleSelection="true" x="118" y="151" width="557">
<local:columns>
<mx:DataGridColumn dataField="firstName" headerText="Select" width="50" sortable="false" itemRenderer="CheckBoxRenderer" >
</mx:DataGridColumn>
<mx:DataGridColumn id="userID" headerText="User ID" />
<mx:DataGridColumn dataField="userlevel" editable="true" headerText="Role" />
<mx:DataGridColumn id="email" headerText="Email" />
</local:columns>
</local:CheckBoxDataGrid>
private function getUs(data:Object):void{
var appSes:ArrayCollection = new ArrayCollection(data.result);
dg.dataProvider = appSes;
}
我得到的值是ArrayCollection,但是當我將它綁定到我的Datagrid時,我沒有得到任何值....雖然從PHP返回的對象沒有問題。Flex中列的數據
沒問題!樂意效勞! – 2009-07-13 19:47:08