1 Reply Latest reply on Nov 26, 2008 7:32 AM by Newsgroup_User

    Customize advanceddatagrid

    Bilbo1984
      Hi

      how can i create an arraycollection from xml and the pass it to a
      advanceddatagrid?

      my xml looks like this:

      <root>
      <week id="1">
      <production day="monday">
      <book>23</book>
      <cds>49</cds>
      </production>
      <production day="tuesday">
      <book>56</book>
      <cds>68</cds>
      </production>
      ...other weeks production...
      </week>
      </root>

      i would display data contains in xml within a datagrid through this layout

      monday tuesday ...
      books 23 56
      cds 49 68



      regards

      thanks a lot
        • 1. Re: Customize advanceddatagrid
          Level 7

          "Bilbo1984" <webforumsuser@macromedia.com> wrote in message
          news:ggjmtp$oa1$1@forums.macromedia.com...
          > Hi
          >
          > how can i create an arraycollection from xml and the pass it to a
          > advanceddatagrid?
          >
          > my xml looks like this:
          >
          > <root>
          > <week id="1">
          > <production day="monday">
          > <book>23</book>
          > <cds>49</cds>
          > </production>
          > <production day="tuesday">
          > <book>56</book>
          > <cds>68</cds>
          > </production>
          > ...other weeks production...
          > </week>
          > </root>
          >
          > i would display data contains in xml within a datagrid through this layout
          >
          > monday tuesday ...
          > books 23 56
          > cds 49 68
          >

          I think what you need is called an OLAP datagrid, and I think it will
          probably work with your existing XML.