[CLOSED] pre-loading a TreePanel BUT only for 1 or 2 levels?

  1. #1

    [CLOSED] pre-loading a TreePanel BUT only for 1 or 2 levels?

    Hi,

    I am going to figure our how to request a TreePanel to load immediately 2 levels (at first load, with a single request), and make the subsequent levels optionally expandable "on demand" when the user clicks on the "expand" icon of a node.

    Is it something that can be done somehow?

    Thank you.
    Last edited by Daniil; May 13, 2014 at 4:17 PM. Reason: [CLOSED]
  2. #2
    Hi @adrianot,

    You can populate all the nodes in one request.

    For example,
    https://examples2.ext.net/#/TreePanel/Loaders/Page/

    If you configure the root node with Expanded="true", it will initiate a load request for that node. In the request you should return all the nodes for two levels.

Similar Threads

  1. Replies: 5
    Last Post: Oct 23, 2012, 6:08 PM
  2. [CLOSED] Treepanel dynamic loading with autoexpand
    By softmachine2011 in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 07, 2012, 12:41 PM
  3. Replies: 7
    Last Post: Sep 03, 2012, 7:11 AM
  4. [CLOSED] Loading TreePanel in MVC
    By webppl in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Feb 21, 2011, 10:10 PM
  5. [CLOSED] TreePanel loading from PageMethod
    By jchau in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 15, 2008, 3:28 PM

Tags for this Thread

Posting Permissions