Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35377

Migrating from 1.9 to 1.10 -- sPaginationType: "bootstrap" seems to be killing me

$
0
0

So i've gotten the js and css from here:
https://github.com/DataTables/Plugins/tree/master/integration/bootstrap
(the 2 folder -- i'm using bootstrap 2).

It always fails here:

    function _fnFeatureHtmlPaginate ( settings )
    {
        var
            type   = settings.sPaginationType,
            plugin = DataTable.ext.pager[ type ],
            modern = typeof plugin === 'function',
            redraw = function( settings ) {
                _fnDraw( settings );
            },
            node = $('').addClass( settings.oClasses.sPaging + type )[0],
            features = settings.aanFeatures;

        if ( ! modern ) {
            plugin.fnInit( settings, node, redraw );
        }

plugin (DataTable.ext.pager['bootstrap'] is undefined, and thus undefined.fnInit fails

Is there something very obvious i'm missing to set the sPaginationType to bootstrap? (worked easily/trivially in 1.9)

Thanks!


Viewing all articles
Browse latest Browse all 35377