"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_YamazakiDaisuke_Yamazaki Posts: 1Questions: 0Answers: 0
edited June 2011 in Bug reports
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.

Replies

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    Can you give us a link to your page showing this error please?

    Thanks,
    Allan
This discussion has been closed.