I use $(".datatable").DataTable(); to initialize my datatable
I have been struggling with this and I couldn't find answers.
Post a test case please.
It looks like your data table is empty on "init" (when initialization has been completed) and those two rows are added after initialization and outside the Data Tables API so that Data Tables doesn't "know" about them. But all of this is guess work without a test case ...
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.