Dynamic Loading in Treetable

I have a large number of data points in a treetable.
Unable to load them dynamically using datafetch and loadahead.
No network call is being made on scroll.
If there is no default data loading for a treetable, May I know how can I capture scroll event in a treetable. Unable to do that too.

Hello,

did you study the dynamic loading samples? For instance, this sample (http://docs.webix.com/samples/15_datatable/16_dyn_loading/01_db_dyn_data.html) shows that server calls are performed on scrolling down the datatable.

At the same time, Webix datatable allows to capture scroll movements with the onScrollY event.

Server calls are not performed on scrolling for a “Treetable” as it works for a datatable.

Yep, TreeTable uses different strategy for the dynamical loading - it can load branches on their opening. And it doesn’t load dynamically during scrolling as DataTable do.

We have it in plans for next updates though ( the dynamic loading will be limited to the top layer of hierarchy )

Looking forward to this update, as I wanted dynamic loading for the first level of nodes in a TreeTable too.

@nlmm01: dynamic loading of children in Tree is explained in this thread.

@maksim: would you like to add a sample at http://docs.webix.com/samples/15_datatable/30_treetable/ showing dynamic loading with onDataRequest? http://webix.com/snippet/7e81d955 is a good one.

Thanks God!
This sample helps me to understand why my code treetable.parse(data) does not work.
The reason was that it should be treetable.parse({ id: parentRowId, data: childDataInTheSameFormatAsForParent);

Because nor parse of ui.tree, Methods Webix Docs, nor parse of ui.treetable, Methods Webix Docs
shows how it should be.
Signature void parse(promise|string|array|object data, string type) shows that it can be different types… but… {id: …, data: …} - where is the doc about it?

Hello, @sergeyplishka

We have to admit that the necessary information is really lacking. We will add it as soon as possible. Thank you for the report.