Treetable: How to get ID list of all visible cells of a page?

I have a Treetable that is usually 40,000 to 80,000 items long, and split using a pager. I need to constantly update the tree, but to avoid overloading the system I want to only update the visible rows on the current page since that’s all the user cares about.

It seems there’s no straight way to do this. I can get the current page, and I can get the number of visible rows by using table.getVisibleCount(). From there, I could try calculating which row ID’s are visible. However I would think there is a better way, specially because if the user uses one of the filters (like search), it’s hard to manage what are the visible row IDs.

Any suggestions?

Is there at least a way to retrieve the number of items of a certain page (other than the current page that can be retrieve using table.count()) ?
With that, I could at least find out how many items to skip.

There’s mo ready solution, but be careful with the getVisibleCount(), as it returns a possible rows count depending on the datatable height.

I can suggest using thesize property from the pager config to calculate the index of the first visible row and then get the others:

http://webix.com/snippet/9855077f