delete multiple rows

delete multiple rows

hans_jameshans_james Posts: 10Questions: 0Answers: 0
edited December 2010 in General
With v1.6.x, when delete a row by fnDeleteRow, for example fnDeleteRow[2], you can then delete the next row by fnDeleteRow[3].
With v1.7.x, you must call fnDeleteRow[2] again in order to delete the next row.

In my case i have collect server-side many Index for delete multiple rows, it work very nice in 1.6.x but not in 1.7.x .
I use the option bScrollCollapse which is supportet in 1.7.

can someone help me???

Hans James

Replies

  • allanallan Posts: 63,512Questions: 1Answers: 10,472 Site admin
    This is expected behaviour in 1.7: http://datatables.net/upgrade/1.7 . In order to try and make things a little easier for some cases, DataTables will reindex the data when deleting rows - hence the need to give it the same index.

    Allan
This discussion has been closed.