pagination doesn't work with dynamic data coming from json file

pagination doesn't work with dynamic data coming from json file

aviolanteaviolante Posts: 1Questions: 1Answers: 0

Hi,

Since a couple of days i'm encountering a strange problem trying to use the DataTables pagination that is driving me crazy.

The odd thing is that, if i paste, via Firebug, the data printed on my page on the "DataTables Live", i can paginate, but this is not possibile on the page, so clearly there is a problem with my Ajax call.

You can see what's printed here:

http://live.datatables.net/zoxuhewa/1/edit

Here, if you remove the "odd" row, the results are paginated, but, as you can see from the results, this doesn't happen in my webpage.

Let me show you what i do in a Pastebin (i hope they're allowed here):

http://pastebin.com/eYGyL472

The HTML of course is put inside a more wide portion of code (the whole page).

Let me know what i can do, i'm literally going crazy. Thanks.

This discussion has been closed.