horizontal scrolling goes wrong when vertical scrollbar is present

horizontal scrolling goes wrong when vertical scrollbar is present

MPeter1975MPeter1975 Posts: 31Questions: 0Answers: 0
edited March 2012 in DataTables 1.9
Hi,

I set fixed height for my datatables and enabled horizontal scrolling because of 11-25 columns. Here are the common code relevant for the issue:
[code]

// Reinitialization
"bRetrieve": true,

// Processing on the server side
"bProcessing": true,
"bServerSide": true,

// Look and feel
"bJQueryUI": true,
"bPaginate": false,
"bInfo": false,
"bStateSave": true,
"sScrollX": "100%",
"sScrollY": "500",
"sScrollInner": "150%",
"bScrollCollapse": false,
[/code]

It works like charm when I have only a few rows and vertical scrolling is not needed. But when I have more rows and vertical scrollbar is present strange thing happens: at the end of horizontal scrolling all the tbody rows slide left a bit but the thead elements don't. Therefore the whole table looks misaligned. It seems to me that the horizontal scrolling is not working for the thead elements.

The question is that I do something wrong or there is a bug in scrolling. I assume the first but can't fix it. Thanks in advance.
Peter
This discussion has been closed.