i got Uncaught TypeError: Cannot set property '_DT_CellIndex' of undefined .
The problem is, i have default table.
$("#mainFolder").dataTable();
In my project, the Default Table is much of Data.
In this case, i want adding New table.
i use $(".tab-content table").dataTable(); for making the New table have 'DataTable View' .
but, it's will display the default table without the 'DataTable View' when first displaying the page.
When im using $("#mainFolder").dataTable(); and i calling dataTable() on all tables in tab-content container after the for loop:
for (var i = 0; i < resultTable.length; i++) {
var items = resultTable[i];
$(".tab-content").append(items.table);
}
$(".tab-content table").dataTable();
I will get Uncaught TypeError: Cannot set property '_DT_CellIndex' of undefined .
How to both them without get
Uncaught TypeError: Cannot set property '_DT_CellIndex' of undefined .?
