ScrollX causes error when deleting all rows of last page

ScrollX causes error when deleting all rows of last page

Edus001Edus001 Posts: 10Questions: 2Answers: 0

Link to test case: https://live.datatables.net/hiniqeni/1/edit?js,console,output
Error messages shown: settings.aoData[idx] is undefined
Description of problem: When scrollX is set to true in the table options, deleting all rows of the last page causes the error in question. With scrollX set to false, the problem doesn't occur.

I came across this error in my app, wanted to see if a minimal example in live.datatables.net would have the same result. In both cases there is an error in the _fnScrollDraw function when scrollX is set to true. Any help is appreciated.

Sign In or Register to comment.