2 Replies Latest reply on Feb 2, 2009 3:30 AM by vfrvulcan

    ADG Sort Ignoring Blanks

    vfrvulcan
      Hi,

      N00b speaks! I've created an ADG with the contents of an xml file where not all fields are present in every row.

      I'd like to sort the columns ignoring the blanks but if I click on the heading to sort a particular column, all the blanks appear first. Is there any way around this so that all data appears at the top of the list regardsless of A-Z or Z-A, A La Excel?

      If I'm in the wrong place, please don't flame, just point me in the right direction.

      MTIA

      Aaron


        • 1. Re: ADG Sort Ingoring Blanks
          Level 7

          "vfrvulcan" <webforumsuser@macromedia.com> wrote in message
          news:gl5c53$9ps$1@forums.macromedia.com...
          > Hi,
          >
          > N00b speaks! I've created an ADG with the contents of an xml file where
          > not
          > all fields are present in every row.
          >
          > I'd like to sort the columns ignoring the blanks but if I click on the
          > heading
          > to sort a particular column, all the blanks appear first. Is there any way
          > around this so that all data appears at the top of the list regardsless of
          > A-Z
          > or Z-A, A La Excel?

          Try looking at the compareFunction property of the Sort object.

          HTH;

          Amy


          • 2. Re: ADG Sort Ignoring Blanks
            vfrvulcan Level 1
            Many thanks Amy, I'll take a look.