Problem to update informations when deleting row
Problem to update informations when deleting row
michael758
Posts: 2Questions: 0Answers: 0
Hello Allan,
first of all, congratulation for your plugin DataTables, it is just amazing et very powerfull.
I write here something because it is almost three hours that I had the same problem and I don't understand why...
I look at the example "how to remove a row" and I used the function "fnDeleteRow", as in the example. But, in my case, the row disappear but the informations (the total of row) didn't update... But when I try the filter function, the informations updated very well. This is my code...
[code]
$(document).ready(function()
{
var tableTableau;
tableTableau = $("#myTableId").dataTable(
{"bFilter": true,
"bInfo": true,
"bPaginate": false,
"bLengthChange": false,
"bAutoWidth": false,
"sDom": '<"top">fit<"bottom"><"clear">',
"oLanguage": {
"sSearch": "Rechercher:",
"sZeroRecords": "Aucun enregistrement ne correspond
first of all, congratulation for your plugin DataTables, it is just amazing et very powerfull.
I write here something because it is almost three hours that I had the same problem and I don't understand why...
I look at the example "how to remove a row" and I used the function "fnDeleteRow", as in the example. But, in my case, the row disappear but the informations (the total of row) didn't update... But when I try the filter function, the informations updated very well. This is my code...
[code]
$(document).ready(function()
{
var tableTableau;
tableTableau = $("#myTableId").dataTable(
{"bFilter": true,
"bInfo": true,
"bPaginate": false,
"bLengthChange": false,
"bAutoWidth": false,
"sDom": '<"top">fit<"bottom"><"clear">',
"oLanguage": {
"sSearch": "Rechercher:",
"sZeroRecords": "Aucun enregistrement ne correspond
This discussion has been closed.
Replies
[code]
var tr = $(this).parents("tr");
[/code]
to recover the current line of the table...
Sorry for the disturb...