Recreate DataTable after destroy column options not being reset
Recreate DataTable after destroy column options not being reset
avi.diadeis
Posts: 2Questions: 2Answers: 0
this.DTAPI = this.table.DataTable(this.DTSettings);//column0 is not visible bVisible=false,visible=false
this.DTAPI.rows().remove();
this.DTAPI.destroy();
$(this.table).empty();
this.DTAPI = this.table.DataTable(this.DTSettings);//column0 should be visible but its not column(0).visible == false
How do i get the columns to properly forget previous settings
This discussion has been closed.