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

Trying to add rows and col-sms to the pagination and search

$
0
0

Hi,

I'm trying to get a class="row" and a class="col-sm-12 around the pagination and search box, it's working in dataTables but the same code won't work if I use editor.

$.extend( true, $.fn.dataTable.defaults, {
    "sDom": "<'row'<'col-sm-12'<'pull-right'f><'pull-left'l>r<'clearfix'>>>t<'row'<'col-sm-12'<'pull-left'i><'pull-right'p><'clearfix'>>>",
    "sPaginationType": "bs_normal",
    "oLanguage": {
        "sLengthMenu": "Show _MENU_ Rows",
        "sSearch": ""
    }
} );

Right now it looks like this but the sDom code isn't affecting anything at all? :(


Viewing all articles
Browse latest Browse all 35278

Trending Articles