3 Replies Latest reply on Dec 10, 2008 10:02 AM by Newsgroup_User

    Flex 3 AdvancedDatagrid & Adobe Docs

    NickUK007
      Hi,

      I am trying to work through the above samples in Adobe Docs here:

      http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_08.html

      There is constant reference to the following ActionScript file:

      simpleflatdata.as

      However, I'm not having any luck finding the contents of this file, so I can run the samples in the Flex documentation.

      Can anyone help with a link to the file or its contents?

      Cheers.
        • 1. Re: Flex 3 AdvancedDatagrid & Adobe Docs
          Gregory Lafrance Level 6
          Its just not explicitly referred to in the doc:

          [Bindable]
          private var dpFlat:ArrayCollection = new ArrayCollection([
          {Region:"Southwest", Territory:"Arizona",
          Territory_Rep:"Barbara Jennings", Actual:38865, Estimate:40000},
          {Region:"Southwest", Territory:"Arizona",
          Territory_Rep:"Dana Binn", Actual:29885, Estimate:30000},
          {Region:"Southwest", Territory:"Central California",
          Territory_Rep:"Joe Smith", Actual:29134, Estimate:30000},
          {Region:"Southwest", Territory:"Nevada",
          Territory_Rep:"Bethany Pittman", Actual:52888, Estimate:45000},
          {Region:"Southwest", Territory:"Northern California",
          Territory_Rep:"Lauren Ipsum", Actual:38805, Estimate:40000},
          {Region:"Southwest", Territory:"Northern California",
          Territory_Rep:"T.R. Smith", Actual:55498, Estimate:40000},
          {Region:"Southwest", Territory:"Southern California",
          Territory_Rep:"Alice Treu", Actual:44985, Estimate:45000},
          {Region:"Southwest", Territory:"Southern California",
          Territory_Rep:"Jane Grove", Actual:44913, Estimate:45000}
          ]);
          • 2. Re: Flex 3 AdvancedDatagrid & Adobe Docs
            Level 7

            "NickUK007" <webforumsuser@macromedia.com> wrote in message
            news:ghoscl$78v$1@forums.macromedia.com...
            > Hi,
            >
            > I am trying to work through the above samples in Adobe Docs here:
            >
            > http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_08.html
            >
            > There is constant reference to the following ActionScript file:
            >
            > simpleflatdata.as
            >
            > However, I'm not having any luck finding the contents of this file, so I
            > can
            > run the samples in the Flex documentation.
            >
            > Can anyone help with a link to the file or its contents?

            Most of the examples in this section use the following flat data to create
            an instance of the GroupingCollection class:

            [Bindable]
            private var dpFlat:ArrayCollection = new ArrayCollection([
            {Region:"Southwest", Territory:"Arizona",
            Territory_Rep:"Barbara Jennings", Actual:38865, Estimate:40000},
            {Region:"Southwest", Territory:"Arizona",
            Territory_Rep:"Dana Binn", Actual:29885, Estimate:30000},
            {Region:"Southwest", Territory:"Central California",
            Territory_Rep:"Joe Smith", Actual:29134, Estimate:30000},
            {Region:"Southwest", Territory:"Nevada",
            Territory_Rep:"Bethany Pittman", Actual:52888, Estimate:45000},
            {Region:"Southwest", Territory:"Northern California",
            Territory_Rep:"Lauren Ipsum", Actual:38805, Estimate:40000},
            {Region:"Southwest", Territory:"Northern California",
            Territory_Rep:"T.R. Smith", Actual:55498, Estimate:40000},
            {Region:"Southwest", Territory:"Southern California",
            Territory_Rep:"Alice Treu", Actual:44985, Estimate:45000},
            {Region:"Southwest", Territory:"Southern California",
            Territory_Rep:"Jane Grove", Actual:44913, Estimate:45000}
            ]);



            • 3. Re: Flex 3 AdvancedDatagrid &amp; Adobe Docs
              NickUK007 Level 1
              Great, thanks Greg.