"Next" button is not working.

"Next" button is not working.

des1001des1001 Posts: 2Questions: 0Answers: 0
edited July 2011 in General
I have strange issue with my DataTables, all the buttons from Full number pagination are working, besides Next. After checking Firebug i am getting an error:

aoData is undefined
if ( aoData.nTr === null )

Could anyone help me with this issue?

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Can you give us a link to your example please?

    The example on the home page with full numbers pagination is working okay: http://datatables.net/ . So there might be something in your setup which is triggering something.

    Allan
  • des1001des1001 Posts: 2Questions: 0Answers: 0
    Hi Allan, thank you for the reply. I am not able to post example link, but i belive that i should give you more details about my setup.

    I am using ajax as my data source. I have noticed that when the value of iDisplayLength is set in the beginning, pagination works just fine, i am using this plugin: http://datatables.net/plug-ins/api#fnLengthChange in order to dynamically change the value for all the tables on the page. When the value is changed i am getting error which is mentioned above. I don't know what else might be needed in order to solve the problem. Please let me know if you need something.

    Best,
    D.
This discussion has been closed.