Horizontal scroll does not work in v1.9
Horizontal scroll does not work in v1.9
 nickolojon            
            
                Posts: 20Questions: 0Answers: 0
nickolojon            
            
                Posts: 20Questions: 0Answers: 0            
            
                    why does horizontal scroll does not work in the current version of datatable?
I used this to instantiate the table
var xInnerWidth = (25 * colIndex);
if (xInnerWidth < 100)
xInnerWidth = 100;
$('#example').dataTable({
"aoColumns": arrColWidths,
"sPaginationType": "full_numbers",
"bSort": false,
"bAutoWidth": false,
"sDom": '<"wrapper"lptip>',
"sScrollX": "100%",
"sScrollXInner": xInnerWidth + "%",
"bScrollCollapse": true,
"bDeferRender": true
});
column number is dynamic so the sScrollXInner is parametarized
thanks in advance for your help
                            I used this to instantiate the table
var xInnerWidth = (25 * colIndex);
if (xInnerWidth < 100)
xInnerWidth = 100;
$('#example').dataTable({
"aoColumns": arrColWidths,
"sPaginationType": "full_numbers",
"bSort": false,
"bAutoWidth": false,
"sDom": '<"wrapper"lptip>',
"sScrollX": "100%",
"sScrollXInner": xInnerWidth + "%",
"bScrollCollapse": true,
"bDeferRender": true
});
column number is dynamic so the sScrollXInner is parametarized
thanks in advance for your help
This discussion has been closed.
            
Replies
Can you link me to a test page showing the problem please?
Allan