primeng datatable refresh
When you change individual rows in primeng datatable, datatable will not be refreshed automatically, for example
this.rows[i]['gender'] = 'Female'
In order to refresh table, you need to do a manual, shallow copy using code below :-this.rows[i]['gender'] = 'Female'
this.rows = [...this.rows]; // refresh manually here ..
Comments