bootstrap dropped ?
bootstrap dropped ?
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.
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.
This discussion has been closed.
Replies
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
Thanks a lot for the quick answer !
Have a nice day !!