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 .. 


Popular posts from this blog

PySpark - Working with JDBC Sqlite database