http://datatables.net/examples/api/select_single_row.html

http://datatables.net/examples/api/select_single_row.html

boudgaboudga Posts: 19Questions: 4Answers: 0
edited February 2010 in General
When I select a table row and try to delete it I get an error that the following is undefined:

[code]var aData = oSettings.aoData[iAODataIndex]._aData.slice();[/code]

Why would that be?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    The error suggests that the index can't be found for the row you are trying to delete. If you are passing fnDeleteRow a node - then it's either not a TR or not a TR in the table. If you are passing the function an integer, then it's outside the range of the data array (or it's been deleted already possibly).

    Allan
This discussion has been closed.