Delete multiple rows

Delete multiple rows

JovanJovan Posts: 16Questions: 0Answers: 0
edited September 2010 in General
Is there a way to delete mmultiple rows from datatables. As I understand fnDeleteRow, fnDraw is called. Is there a way to override this? Or some other solution.

Replies

  • cdaiglecdaigle Posts: 57Questions: 0Answers: 0
    If you pass null, false as the second and third parameters to fnDeleteRow, a redraw won't occur.
    See here for the documentation http://datatables.net/api#fnDeleteRow .

    So you could loop through an array and delete multiple rows(passing null,false), then call fnDraw at the end.

    Hope this helps.
This discussion has been closed.