On using
TreeTable and
Tree , I couldn’t find
TreeTable .expandItemsRecursively() or .collapseItemsRecursively().
1 - Is there a way to recursively expand/collapse items in TreeTable?
2 - From an API naming perspective, I suggest that TreeTable and Tree share the exact related functions, since
TreeTable.setCollapsed()
is not intuitively similar to
Tree.collapseItem()
currently there’s no way to expand/collapse items recursively, see
this ticket for the enhancement request.
As for the method names, I don’t know why they are named differently. Does seem a bit nonsensical to me too. It might be due to the fact that the TreeTable was originally just an add-on and was integrated to the framework much later.