Is there a better way to get last SIBLING id or child count in webix Tree?

edited November 2019 in Technical questions

I know there is a getLastId(), but that only works for the top level. If I have a node that is 5 levels deep and I want to get its last sibling, is there a better way than just calling getNextSiblingId() repeatedly until null?

I'm also looking for a way to easily get the number of children a node has without using getNextSibling() calls. Do you guys plan on adding something like getChildCount(parentId)?

Thanks in advance.

Tagged:

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!