jQuery UI Widgets › Forums › General Discussions › Navigation › Tree › JQXTREE ISSUE
Tagged: big data source, jqxtree, treegrid, virtual mode
This topic contains 5 replies, has 2 voices, and was last updated by Harsh 10 years, 8 months ago.
-
AuthorJQXTREE ISSUE Posts
-
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
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 GHi 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 IvanovjQWidgets Team
http://www.jqwidgets.comHello 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 JqxTreeGridKindly advice on this as well.
Regards,
HarshDrag/drop feature is also required. So will the jqxtreegrid serve all such features ?
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 IvanovjQWidgets Team
http://www.jqwidgets.comThanks so much ivailo.
-
AuthorPosts
You must be logged in to reply to this topic.