Flex 3 数据网格和 xmllistcollection
我试图在数据网格中的不同字段中显示 xmllistcollection 的内容,但是除非我使用 itemrenderer,否则该值不会显示在网格中。
xmllistcollection 是通过 Web 服务调用填充的。在我的项目渲染器中,我使用自定义命名空间从 xmllistcollection 检索内容,
value.ns::firstName
但是如果我在数据网格中尝试类似 dataField = "ns::firstName" 的内容而不使用项目渲染器,我将得不到数据输出。
有人可以帮我吗?
im trying to display content of xmllistcollection in different fields in my datagrid however unless i use an itemrenderer the value is not displaying in the grid.
the xmllistcollection is populated from a webservice call. Inside my item renderer i use a custom namesspace to retrieve contents from the xmllistcollection
value.ns::firstName
however if i try something like dataField = "ns::firstName" in the datagrid without using an item renderer i get no data output.
Can anyone help me out?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用
labelFunction
属性。数据.xml
Use the
labelFunction
property.data.xml