Pagination in tree table layout


I have created tree view table using gojs. Here is my code : Codepen Link

I have tried to add pagination by referring this sample created Gojs Table Pagination but could not figure out how to achieve this same in tree view table.

Is it possible to add pagination in tree view table ? If yes can you please help me do it in the code pen link I provided above?

I suppose that’s possible. However, it isn’t clear to me what you want to do when a (sub)tree crosses a page break. Would the root and nodes along the parent chain still exist in the diagram even though they are “above” the page break? If those nodes aren’t visible, the user wouldn’t be able to collapse them.

What about nodes that are siblings that are “below” the page break? Could you have a variable number of nodes showing, depending on how the subtrees are expanded?