primeng icon indicating copy to clipboard operation
primeng copied to clipboard

TreeTable: Add methods to collapse/expand nodes

Open steigerm opened this issue 9 years ago • 2 comments

There are currently events onNodeExpand/onNodeCollapse but no methods to do it programmatically

steigerm avatar Sep 03 '17 21:09 steigerm

I don't think it is necessary, at your model if you set TreeNode.expanded = true|false then UI will be updated accordingly.

cagataycivici avatar Oct 04 '17 08:10 cagataycivici

Thanks for the information! Good to know that this works bidirectional.

@cagataycivici Maybe another pointer to enhance the documentation.

steigerm avatar Oct 04 '17 21:10 steigerm