Not to redraw table after some fn call?

Not to redraw table after some fn call?

darthvandarthvan Posts: 9Questions: 0Answers: 0
edited May 2010 in General
Hello,
is there a way for example to avoid table redraw after delete row,second parametar of fnRedraw table is callback fn,can I use this fn to avoid redrawing table?How?Or some other way?Tnx.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    In 1.7 beta the third parameter is now a boolean to indicate if redraw should occur or not. In 1.5/1.6 is was an indicator to say if the aoData element should be nulled or not, but that is now redundant due to internal changes...

    So 1.7 will do what you are looking for. Or if you don't fancy a beta release, and small change to the this.fnDeleteRow function in 1.6 will do it.

    Allan
  • darthvandarthvan Posts: 9Questions: 0Answers: 0
    Tnx Allan,when are you planing 1.7 final relase?I will start using 1.7 soon.
    Must say,that datatables will be first jquery plugin that I will donate :)
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi darthvan,

    > Tnx Allan,when are you planing 1.7 final relase?I will start using 1.7 soon.

    Hopefully fairly soon. Once the scrolling has been stabilised... I've got a new beta to test and then release, so I hope to have that out quite soon. That should be quite stable, but the more testing on it the better :-)

    > Must say,that datatables will be first jquery plugin that I will donate :)

    That's awesome! Thanks :-)

    Regards,
    Allan
This discussion has been closed.