Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

horizontal scroll not working using datatables

I have a really big columns, around 40 columns and want to scroll horizontally, but its not working.

$(document).ready(function () {
    $('#example').dataTable({
            "oTableTools": {
                           "sScrollY": 200,
                           "sScrollX": "200%",
                           "sScrollXInner": "110%"
             }
    });
});
like image 613
beebek Avatar asked Mar 22 '23 17:03

beebek


1 Answers

Removing the scroll-x-inner might help.

"sScrollXInner": "110%"

It worked for me. Source datatables.net/forums

like image 112
mgs Avatar answered Mar 25 '23 07:03

mgs