mazdik / ng-mazdik

Angular UI component library
https://mazdik.github.io/ng-mazdik
MIT License
89 stars 34 forks source link

Update Row properties on the Fly possible ? #42

Closed suryakanta101 closed 5 years ago

suryakanta101 commented 5 years ago

Hello @mazdik

I am seeing "prepareTreeData" method , the expand / collapse state is initialing.

I want a Trigger Button , which will Expand the Tree (nth level) and collapse. Can we do that ?

rows.forEach(x => { x.$$height = (x.$$level > 0) ? 0 : null; x.expanded = !(x.$$level == 0);//!(x.$$level > 0) x.$$editable = !x.hasChildren; });