angular material - matTable 数据不渲染

angular material - matTable 不是主动渲染数据,如果数据改变之后要重新渲染

@ViewChild(MatTable) table: MatTable<PeriodicElement>;


this.table.renderRows();

 

@ViewChild(MatTabletableMatTable<any>;
posted @ 2022-03-02 11:23  jahoon  阅读(111)  评论(0)    收藏  举报