jQWidgets Forums

jQuery UI Widgets Forums Navigation Tree JQXTREE ISSUE

This topic contains 5 replies, has 2 voices, and was last updated by  Harsh 9 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • JQXTREE ISSUE #76341

    Harsh
    Participant

    Hello ,
    I ran into a weird scenario of jq tree.
    Below is what am i trying to achieve

    :- I have a requirement where i need to fill the tree on demand .
    For this i am using the pattern which was stated in demo of jqxtree.
    Now somewhere downside of the tree sub node, on expand , i am about to get around 6500 sub leaf . This is where am stuck
    $(‘#treeviewProperty’).jqxTree(‘addTo’, childData, $element[0])

    For tree having around 50 sub nodes, its working fine.
    BUT , Where childData is having array of 6500 elements in it. When this line gets hit , i am getting error of UNRESPONSIVE SCRIPT .

    Also , this

    Jqx Tree Unresponsive

    issue is happening on I-3 64bit windows 7 ,
    On I-5 machine, tree is taking time to load, but not giving error of UNRESPONSIVE Script..

    Any Help is really appreciated.
    Regards,
    Harsh G

    JQXTREE ISSUE #76365

    ivailo
    Participant

    Hi harsh.gulati,

    This behavior depends from the available system resources.
    To avoid it, we offer you to use another widget – jqxTreeGrid.
    jqxTreeGrid allows virtual mode, so you can populate it with bigger data sources.
    Here is the demo.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    JQXTREE ISSUE #76424

    Harsh
    Participant

    Hello ivailo,
    Thanks for the suggestion , before i go for this implementation , will it be serving the way i am trying to develop the tree.
    Steps as follow:-

    on load , i am getting the root node json from a webservice call & binding it to treehtml element .

    now on expand , i am making a on ajax post to other webservice call , get subnode & fill it again inside the expanded node..

    Note:- I am not getting the whole json of tree & its respective subnode & leafs on load of document/html page. rather i am doing on request load
    Is this available in JqxTreeGrid

    Kindly advice on this as well.
    Regards,
    Harsh

    JQXTREE ISSUE #76425

    Harsh
    Participant

    Drag/drop feature is also required. So will the jqxtreegrid serve all such features ?

    JQXTREE ISSUE #76454

    ivailo
    Participant

    Hi Harsh,

    You can try this demo with request.

    About Drag and Drop you can use plugin. jqxTreeGrid is very similar to jqxGrid, so as an example you can see this demo. Unfortunately rows reorder is not supported.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

    JQXTREE ISSUE #76781

    Harsh
    Participant

    Thanks so much ivailo.

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

You must be logged in to reply to this topic.