SyntaxFix
Write A Post
Hire A Developer
Questions
I had tried ChangeDetectorRef, Subject and BehaviourSubject but what works for me
dataSource = []; this.dataSource = []; setTimeout(() =>{ this.dataSource = this.tableData[data]; },200)