4 Replies Latest reply on Jul 23, 2007 12:56 PM by schjlatah

    Conditional Item Renderer

    schjlatah Level 1
      Here's the challenge:
      Make a tree component.
      Send it XML data.
      In the XML data have an attribute name of headderItem (or whatever you want to call it). If headderItem="true" then render that line differently in the same tree, but all children must also be normal tree styling.
      If headderItem is blank or is false then render the tree as normal.

      The idea is to make one tree that can be broken into sections, in stead of using multiple trees with Labels over them.
      An entirely data-driven universal tree component to be reused many times.