SOLVED - How to delete row with fadeOut() ?!!

SOLVED - How to delete row with fadeOut() ?!!

damtaipudamtaipu Posts: 2Questions: 1Answers: 1
edited September 2016 in Free community support

Hello peoples! B)

A have the follow code line working very, very well :) :

var tabelaP = $("#tableAdd").DataTable();
tabelaP.row($(this).closest('tr')).remove().draw();

But, I can't use 'fadeOut()' for animate this process. So, how to delete row with fadeOut() ?!!

This question has an accepted answers - jump to answer

Answers

  • damtaipudamtaipu Posts: 2Questions: 1Answers: 1
    edited September 2016 Answer ✓

    Ladies and Gentlemen!

    The problem was solved. I used the follow code:

    var linha = $(this).closest('tr');

    linha.fadeOut(400, function () {
    tabelaP.row(linha).remove().draw()

    });

    hugs!!!!!

This discussion has been closed.