Horizontal scroll bar is not working

Horizontal scroll bar is not working

pansathishpansathish Posts: 12Questions: 2Answers: 0
edited July 2013 in DataTables 1.9
I have add in datatable following parameter, but i didnot get horizontal scroll bar. My table has 35 columns in it. Now it is showing without scroll, its occupying whole window. I am followed the guideline which is mentioned in documentation. but nothing work. I am using datatable 1.9.4.

jQuery(document).ready(function($) {
var oTable = $('#tabela_controller').dataTable({
"bProcessing" : true,
"bServerSide" : true,
"sPaginationType" : "full_numbers",
"sAjaxSource" : "http://localhost/project/index",
"bFilter": false,
"bLengthChange":false,
"sPaginationType": "full_numbers",
"bProcessing" : true,
"iDisplayLength":2,
"fnServerData" : function(sSource, aoData, fnCallback) {
$.ajax({
"dataType" : 'json',
"type" : "post",
"url" : "http://localhost/project/index",
"data" : aoData,
"success" : fnCallback
});

},
"sScrollX": "50%",
"bScrollCollapse": true,
});


Please help

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Link to a test case please: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read
This discussion has been closed.