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?