bootstrap dropped ?

bootstrap dropped ?

hitohito Posts: 2Questions: 0Answers: 0
edited January 2014 in General
Hi guys,
I have to paginate on a table for an application so I found DataTables which is working perfectly for that. I read the article in the blog explaining how to use datatables + twitter bootstrap. So I tried to write this :

$('#my-table').dataTable( {
"sPaginationType": "bootstrap"
});

Unfortunately, I'm getting this error : TypeError: DataTable.ext.oPagination[oSettings.sPaginationType] is undefined .

I'm wondering if you removed twitter bootstrap's support or did I make a mistake ?
FYI, if I remove the option to set the pagination type, it works like charm and I'm able to paginate correctly.

Regards,
hito.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Styling by Bootstrap / Foundation / jQuery UI etc is key to DataTables moving forward, so absolutely this has not been dropped!

    Did you include the Bootstrap / DataTables integration files? I'm guessing probably not.

    The latest integration files are always available here: https://github.com/DataTables/Plugins/tree/master/integration/

    Allan
  • hitohito Posts: 2Questions: 0Answers: 0
    Well, you made my day.

    Thanks a lot for the quick answer !

    Have a nice day !!
This discussion has been closed.