Closed suryakanta101 closed 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; });
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; });