jQuery UI Widgets Forums Navigation Tree Tree dynamic loading on expand

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 9 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Tree dynamic loading on expand #54751

    arikbd
    Participant

    Hi,

    I’m trying to load my tree dynamically has it can hold large number of nodes.
    I have an option of grouping my data into sub-trees according to several attributes (location, type, manufacturer etc)

    So the initial tree looks for an example

    Location
    + New-York
    Type
    + Computer

    When the user expand the New-York node, In the expand event handler: I load the data matching this criteria into the tree source structure and do $(‘#tree’).jxqTree({source: mySource});

    Doing so fire expand event for the Computer node also which I do not understand why, I just want to load the New-York node at this time.

    Thanks,

    Arik

    Tree dynamic loading on expand #54777

    Dimitar
    Participant

    Hello Arik,

    Please check out the demo Load on Demand with Ajax. We hope it is helpful to you.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.