Documentation out of date
Documentation out of date
It seems that some part of the doc are out-of-date.
https://datatables.net/plug-ins/pagination/
https://datatables.net/reference/option/pagingType
In these two pages we have two different keys to deal with the pagination:
- paginationType
- pagingType
I also found sPaginationType
in some old doc...
Which one is the good one? I guess that's the pagingType
since that's the one used in the lastest API.
Another question without any link with the doc, why my choice isn't applied (full_numbers)? I don't think I need to include anything else than the basics to make it work, right?
This question has an accepted answers - jump to answer
Answers
All three will actually work. however,
pagingType
is the preferred option. I'll update the plug-ins page shortly - thanks for point that out.Can you link to a page showing the error please. It should work as shown in this example: http://live.datatables.net/pubaxeq/1/edit
Allan
Ok, thanks, I read somewhere that was some backward compatibility sbut forgot it...
The point is tehre are no error at all, it just doesn't work. The option don't seem to have any effect. But jquery.datatable works fine otherwhise.
https://gist.github.com/Vadorequest/b4ceb67b1e973ccd9459
I'm not sure what you mean by it doesn't work. I linked to an example showing it working.
Can you please link me to a test case showing it not working.
Allan
That's because I'm using rails framework and a gem, the gem was based on the 1.9 version instead of 1.10. That's why it doesn't work. (I guess)
https://github.com/rweng/jquery-datatables-rails/issues/97