"Next Button" in pagination zone becomes disabled when "iDisplayStart" is set for initialization.
"Next Button" in pagination zone becomes disabled when "iDisplayStart" is set for initialization.
Daisuke_Yamazaki
Posts: 1Questions: 0Answers: 0
When I set "iDisplayStart" option to an certain integer value for initialization dataTables, "Next" button at "full-numbers" mode for pagination becomes disabled. I got the following error.
Uncaught TypeError: Cannot read property 'nTr' of undefined.
_fnDrawjquery
$.fn.dataTable.oSettings.aoDrawCallback.push.fn
_oExt.oPagination.full_numbers.fnInit
My code is followings:
var orderDetails = $("#orderDetails").dataTable({
"iDisplayLength" : "0",
"iDisplayStart" : iDisplayStart,
"oSearch": {"sSearch": sSearch}
I don't use server-mode.
Uncaught TypeError: Cannot read property 'nTr' of undefined.
_fnDrawjquery
$.fn.dataTable.oSettings.aoDrawCallback.push.fn
_oExt.oPagination.full_numbers.fnInit
My code is followings:
var orderDetails = $("#orderDetails").dataTable({
"iDisplayLength" : "0",
"iDisplayStart" : iDisplayStart,
"oSearch": {"sSearch": sSearch}
I don't use server-mode.
This discussion has been closed.
Replies
Thanks,
Allan