Horizontal scroll does not work in v1.9

Horizontal scroll does not work in v1.9

nickolojonnickolojon Posts: 20Questions: 0Answers: 0
edited February 2012 in General
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

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    The feature looks just fine to me - see this example: http://datatables.net/release-datatables/examples/basic_init/scroll_x.html .

    Can you link me to a test page showing the problem please?

    Allan
This discussion has been closed.