ng-tree-antd icon indicating copy to clipboard operation
ng-tree-antd copied to clipboard

How to get all selected nodes

Open wgqjiayou opened this issue 6 years ago • 3 comments

How to get all selected nodes, such as the id of all selected nodes

wgqjiayou avatar Jan 03 '18 01:01 wgqjiayou

you can try to use activeNodes property(https://angular2-tree.readme.io/docs/treemodel) or iterate the nodes to get the selected nodes

xbu avatar Jan 04 '18 03:01 xbu

getActiveNodes can not work. active is not checked, so i think only thought collect ever check event to keep a checked nodes

boatlet avatar Feb 23 '18 02:02 boatlet

Is there any other way besides traversing the result?

Y2zz avatar Mar 06 '18 03:03 Y2zz