iDisplayLength: -1 bug
iDisplayLength: -1 bug
hugi
Posts: 2Questions: 0Answers: 0
Hello,
I using DataTables 1.9 with client side data. We show normaley all row elements with the option iDisplayLength: -1.
The problem appears if the user deletes the last element in the datatable. The paging "previous" is active, although there are no rows in the datatable.
We can use fnClearTable as workaround.
Small demo: http://live.datatables.net/ivakuc/edit#javascript,html
Delete three times the first row and check the paging links.
Thanks
hugi
I using DataTables 1.9 with client side data. We show normaley all row elements with the option iDisplayLength: -1.
The problem appears if the user deletes the last element in the datatable. The paging "previous" is active, although there are no rows in the datatable.
We can use fnClearTable as workaround.
Small demo: http://live.datatables.net/ivakuc/edit#javascript,html
Delete three times the first row and check the paging links.
Thanks
hugi
This discussion has been closed.
Replies
Thanks flagging this up. It appears to be resolved in 1.10, which is currently pre-beta (heading for beta soon!): http://live.datatables.net/ivakuc/2/edit
Allan
Great piece of code.