Problem to update informations when deleting row

Problem to update informations when deleting row

michael758michael758 Posts: 2Questions: 0Answers: 0
edited July 2010 in General
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

Replies

  • michael758michael758 Posts: 2Questions: 0Answers: 0
    Just expose my problem explain me why it wasn't working... If I well understand, I can't use this line :
    [code]
    var tr = $(this).parents("tr");
    [/code]

    to recover the current line of the table...

    Sorry for the disturb...
This discussion has been closed.