When I load my page in first place there nothing in the table and the datatable is not initializated, after a few interactions rows are added and when all rows are added (wi
Calling $('#table').dataTable().fnDestroy(); will clear the table of dataTable code and allow you to manipulate the table, and then call dataTable on it again.