2 Replies Latest reply on Apr 13, 2007 8:04 PM by huynhat

    TreeNode

    thiswebs4u

      Is there anyway to tell nodes on a tree to be initialy expanded?

      Thanks!

        • 1. Re: TreeNode
          ilya_shaikovsky

          Probably you need expandNode(TreeRowKey rowKey) method from TreeStateCommandsListener interface .

          • 2. Re: TreeNode
            huynhat

            1) Could you provide code example on how to get the TreeStateCommandsListener?

            2) I need to provide "Expand All" and "Collapse All" buttons for the tree, how can I do that when the "switchType" is "client" ? or "ajax" ?

            Many thanks.