5 Replies Latest reply on Jan 23, 2009 7:51 PM by ntsiii

    Advanced Data Grid e4x Failure (Bug?)

      Lets say I have an AdvancedDataGrid, a custom HierarchicalData descriptor, and the XML below. The HierarchicalData descriptor returns only the "a" named elements (e.g. <a><b att="1">foo</b></a>) for each row.

      <b att="1">foo</b>
      <b att="2">bar</b>

      The AdvancedDataGrid declaration has:

      <mx:AdvancedDataGridColumn dataField="b"/>
      <mx:AdvancedDataGridColumn dataField="b.@att"/>

      The ADG displays foo and bar for the first column, but does not display 1 and 2 for the second. The ADG dataField ignores the dot operator and does not select the descendants and their attributes.

      Is this a bug? What am I doing wrong? What's a workaround? I need to be able to edit all of the columns as well.