jQuery UI Widgets › Forums › TreeGrid › 3 Levels using jQXTreeGrid
This topic contains 5 replies, has 2 voices, and was last updated by svetoslav_borislavov 2 years, 5 months ago.
-
Author
-
Can I go 3 level down with jQXTreeGrid or do I need to have two tables for
Parent - > Child1 ->ChildOFChild1hierarchy.I have two level example working from your example:
https://jsfiddle.net/walker123/t46g3wxm/7/
Wondering how would this code be defined if I want to go for three evel hierarchy.
hierarchy: { keyDataField: { name: 'EmployeeID' }, parentDataField: { name: 'ReportsTo' } },Also, is there a limit on number of records which will start affecting the performance of the tree grid if I have too many records in the hierarchy showing?
Hi,
Every object can report to another one, this way you can build a big hierarchy,
Here is an example of that: https://jsfiddle.net/havpmf1b/1/
Also to use the expanded, just add it to the dataFields array, again shown in the demo.Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/Ok,
1. Can I introduce search in the hierarchy?
2. Is using expanded just ensures that the hierarchy is expanded as soon as grid loads?
3. is there a limit on number of records which will start affecting the performance of the tree grid if I have too many records in the hierarchy showing?
Hi,
1. You can enable the filtering with the ‘filterable’ property, have a look here:
https://jsfiddle.net/m5u1jxr9/2. Yes, exactly, but it is not required
3. At some point, if the records become too many, there could be some performance issues
Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/At some point, if the records become too many, there could be some performance issues
1. What would be that number?
2. Is there a way I can randomly generate a record and test it? OR Do you have an example where I can adjust the data and test it?
Hi,
Here is a demo that you can test:
https://jsfiddle.net/kcs16zxr/4/A simple function for generating records was created
Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.