Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-9654

DataGrid and DataGridColumn to support complex paths in dataField

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 3.0 (Release)
    • mx: DataGrid
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      DataGrid supports XML as a datatype. XML is rarely flat. I would say having a hierarchy is pretty much a given. Yet DataGridColumn's only supports passing in a 'top level' property name via the dataField.

      So, given blah as a dataProvider

      blah.monkey = 5
      blah.test.data = 3

      I can display monkey in a column, but not test.data

      The party line is 'create a label
      function'. That's great for really small situations but sorting, itemEditing, etc. is all impacted. Further, when working on larger projects with a few thousand mxml files, it is hard to propogate that idea throughout.

      In flex 1.0, 1.5 and 2.0x I have extended DataGrid/DataGrid Column to resolve this issue. It would be really, really, really great to get an Adobe supported version of this.

      Attachments

        Issue Links

          Activity

            People

              adobejira Adobe JIRA
              adobejira Adobe JIRA
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: