SyntaxFix
Write A Post
Hire A Developer
Questions
you can try typescript's For :
For
selectChildren(data , $event){ let parentChecked : boolean = data.checked; for(let o of this.hierarchicalData){ for(let child of o){ child.checked = parentChecked; } } }