sPaginationType : bootstrap doesnt work
sPaginationType : bootstrap doesnt work
Hello,
I am trying to use sPaginationType as bootstrap but adding this fails initialization of datatable and i get nothing. If i take sPaginationType out, i works using two_button but i want to use bootstrap because of our website design. I used javascript for bootstrap from http://www.datatables.net/blog/Twitter_Bootstrap_2
Has anyone used bootstrap for pagination? if yes, can you please guide where i can go wrong?
Any help will be appreciated.
Thanks
Jugram
I am trying to use sPaginationType as bootstrap but adding this fails initialization of datatable and i get nothing. If i take sPaginationType out, i works using two_button but i want to use bootstrap because of our website design. I used javascript for bootstrap from http://www.datatables.net/blog/Twitter_Bootstrap_2
Has anyone used bootstrap for pagination? if yes, can you please guide where i can go wrong?
Any help will be appreciated.
Thanks
Jugram
This discussion has been closed.
Replies
Also I'd suggest you use the Javascript and CSS here: https://github.com/DataTables/Plugins/tree/master/integration/bootstrap
Allan
I really got struck in very stupid problem (with my minimal knowledge of jquery) and the reason it was not working was because in jquery.datatable.js you use 'DataTable.ext' to extend or attach any behaviour to datatable but in bootstrap file it was '$.fn.dataTableExt', it took me couple of hours with hit and trail to figure this out, but again, i am not atall good in jquery.
Anyway, this tools really rocks.