You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Mikko Torniainen (JIRA)" <ji...@apache.org> on 2013/02/13 22:22:13 UTC
[jira] [Created] (FLEX-33393) Support for nested xml data in
datagrid datafield
Mikko Torniainen created FLEX-33393:
---------------------------------------
Summary: Support for nested xml data in datagrid datafield
Key: FLEX-33393
URL: https://issues.apache.org/jira/browse/FLEX-33393
Project: Apache Flex
Issue Type: Improvement
Components: Spark: DataGrid
Affects Versions: Apache Flex 4.9.0
Reporter: Mikko Torniainen
Priority: Minor
Quite often xml datasource isn't neatly in one level, but contains nested nodes. Spark datagrid partially supports using e4x-queries in gridcolumn-dataField, but it fails if you try to filter by an attribute (@) of a nested node. For convinience and consistancy this could also be supported.
This works: @something
This works: child
This works: child.grandchild
This does not work: child.(@id == 'something') and will also clear the headerText of that column for some reason.
Workarounds:
- preprocess the xml to easier form before using it as dataprovider.
- extend the gridcolumn to pass custom data and use the labelfunction or itemrendererfunction instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira