[CLOSED] Save the Tree expanded Node state between sessions

  1. #1

    [CLOSED] Save the Tree expanded Node state between sessions

    Hi all

    We use a Page like you Examples Browser to show and hide program functions. The available Functions are listed in the Tree...
    It would be nice to store the Tree node expand state. The user should see the Tree in the same manner as he left the application.
    Is there a way to implement this feature ?

    Peter
    Last edited by Daniil; Sep 10, 2013 at 6:28 AM. Reason: [CLOSED]
  2. #2
    Hi Peter,

    I see the two stages in the task.

    The first one is saving expanded state of the nodes.

    You can do it on the fly during each collapse/expand. For that you could use a TreePanel's ItemExpand and ItemCollapse events saving expanded state on server in some remote store.

    The second stage is restoring. You should set up Expanded to true for a node which should be expanded.

Similar Threads

  1. Replies: 1
    Last Post: Apr 02, 2013, 6:50 AM
  2. TreePanel - Node Expanded Event?
    By KevinWinter in forum 2.x Help
    Replies: 0
    Last Post: Mar 04, 2013, 12:03 PM
  3. No Expanded on click treepanel node!
    By abis in forum 2.x Help
    Replies: 2
    Last Post: Aug 12, 2012, 6:22 AM
  4. Replies: 16
    Last Post: Jul 19, 2011, 4:53 AM
  5. Replies: 1
    Last Post: Jul 28, 2009, 6:11 AM

Posting Permissions