Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does dynamic data loading for trees work? #181

Closed
dandv opened this issue Dec 30, 2014 · 2 comments
Closed

How does dynamic data loading for trees work? #181

dandv opened this issue Dec 30, 2014 · 2 comments
Assignees

Comments

@dandv
Copy link
Contributor

dandv commented Dec 30, 2014

I've read the guide on loading big datasets for trees but it's unclear how exactly it works.

By sniffing the network connection for the demo, I see that when clicking on a node, Webix sends a request with two parameters:

  • continue=true - what exactly does this mean?
  • parent=<node ID>

But beyond that, what should the server implementation do?

How does pagination work for nodes with many children? I see there's a pager property for trees but the example is for datatable.

Does loadahead work like for datatable? How about datafetch?

How can a proxy or function be substituted for the url parameter to implement dynamic tree data loading? How does url differ from dataFeed?

It would be great to improve http://docs.webix.com/datatree__loading_data.html with this information; otherwise users may be fumbling in the dark trying to load tree data dynamically.

@dandv
Copy link
Contributor Author

dandv commented Jan 5, 2015

Is it possible to do page loading for the children for a Treeview? In Kendo UI it's not. DHTMLX can do it via the DistributedParsing option.

@Zwillinge
Copy link
Member

All the answers you will be able to find in the updated documentation that comes with Webix 2.2 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants