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

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm