On Parent Close Attach Event

I have a treeview table. I wanted to hide pagination if all Parent nodes are close and also they are less than or equal to 10. Please suggest me any idea how do I create a logic for that.

Hello @niha, you can try dynamically check the current open items count via the getOpenItems() method to see if all of the parent nodex are closed. If that checks out you hide the pager component, if not - you show it.

and also they are less than or equal to 10

I’m not quite sure what you mean by this, do you mean the total parent node count is less than or equal 10?

Either way, here is just a small example of how this might look - https://snippet.webix.com/6a84qr8g.

thanks @Dzmitry… problem solved.