userful flex website

本文介绍在Flex中如何正确地将RPC服务调用的结果绑定到ArrayCollection对象上。特别是当RPC组件的结果格式设置为对象时,需要使用ArrayUtil.toArray()方法确保数据源能适配ArrayCollection的要求。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Tree

 

When the data source is the lastResult object of an RPC service call and the resultFormat property of the RPC component is set to "object", you should use the ArrayUtil.toArray() method to ensure that the object is an Array when you bind it to an ArrayCollection object, as the following example shows:

<s:ArrayCollection id="employeeAC" source="{ArrayUtil.toArray(employeeSrv.lastResult.employees.employee)}"/> 

 

 

container

http://www.adobe.com/devnet/flex/quickstarts/using_containers.html

 

 

advancedDataGrid

http://help.adobe.com/en_US/Flex/4.0/UsingSDK/WS2db454920e96a9e51e63e3d11c0bf69084-7be0.html

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值