I am using a mat-table to list the content of the users chosen languages. They can also add new languages using dialog panel. After they added a language and returned back.
I had tried ChangeDetectorRef, Subject and BehaviourSubject but what works for me
dataSource = []; this.dataSource = []; setTimeout(() =>{ this.dataSource = this.tableData[data]; },200)