Good morning
I build a table dynamically, as with my example at https://jsfiddle.net/WernerCloete/m23akdjb/103/.
When I remove the row, after updating the database with the new data, data[0] returns the data[1] value, not the expected ID value (the example does not have this problem).
I have no idea why this would happen. If I don't convert the table, using
$("table#test").DataTable(
{
"bAutoWidth": false,
"columnDefs":
[
{
"targets": [ 0 ],
"visible": false,
"searchable": false
}
],
"lengthMenu": [ 5, 10, 25, 50, 75, 100 ],
"order": [[ 1, "asc" ]],
"select":
{
"style": "single"
}
});
the table shows that the ID column and row values are present.