3 Replies Latest reply on Mar 19, 2009 8:32 AM by Rifaet

    Tree item text unexplainably grayed out.

    ronslide
      I have a Tree with more items that can fit in the initial tree window. Each item has an icon and an associated text displaying the name of the item. When I first open the window, all items appear fine. They are all displayed in a consistent normal style. If I scroll vertically to show more items, the first item that was outside of the window appears at the bottom of the window, but its text is grayed out. If I keep scrolling, the second and all subsequent items appear with normal (not grayed) text. So I end up with a list showing one item grayed out. The grayed item otherwise appears fine - it is selectable and its icon appears normal like all other icons.
        • 1. Re: Tree item text unexplainably grayed out.
          ronslide Level 1
          Discovered a workaround. If you set the tree's 'color' and 'disabledColor' attributes to the same value (e.g. "#333333"), the problem does not manifest itself.

          Would still like to hear if anyone knows of a better solution.
          • 2. Re: Tree item text unexplainably grayed out.
            Level 7

            "ronslide" <webforumsuser@macromedia.com> wrote in message
            news:gpr0k4$e7f$1@forums.macromedia.com...
            > Discovered a workaround. If you set the tree's 'color' and
            > 'disabledColor'
            > attributes to the same value (e.g. "#333333"), the problem does not
            > manifest
            > itself.
            >
            > Would still like to hear if anyone knows of a better solution.

            Is there something in your itemrenderer that isn't getting reset on data
            change that could be making the renderer think the item is disabled?


            • 3. Re: Tree item text unexplainably grayed out.
              Rifaet Level 1
              Hi!
              i have xml file with repeating data, and i want to display one item av repeatingsdata.
              my exmpl:
              <leksem visningsord="A" filnavn="A"/>
              <leksem visningsord="abonnere" filnavn="abonnere">
              <grupper gruppe="number"/>
              </leksem>
              <leksem visningsord="abort" filnavn="abort">
              <grupper gruppe="number"/>
              </leksem>
              <leksem visningsord="absolutt 1" filnavn="absolutt-1"/>
              <leksem visningsord="absolutt 2" filnavn="absolutt-2"/>
              <leksem visningsord="abstinens" filnavn="abstinens">
              <grupper gruppe="number"/>
              </leksem>
              the grupp name "number" i want to com in my grupp list just one time, and i traid diffrents actions but no result.

              thax 4 help
              Rifaet