Problem with the option sScrollY

Problem with the option sScrollY

BFG86BFG86 Posts: 10Questions: 0Answers: 0
edited April 2013 in DataTables 1.9
Hi all. =)
If I initialize the table with the option sScrollY:
[code]
$("#tparameter" + response.d[i][5]).dataTable({
"bDeferRender": true
,"bPaginate": false
,"bFilter": false
,"bJQueryUI": true
, "sScrollY": "200px"
,"bScrollCollapse": true
});
[/code]
Then the head table is shifting.
http://i.imgur.com/gWYFj3D.png?1
Please tell me how to solve this problem?
Thanks.

Replies

  • allanallan Posts: 63,389Questions: 1Answers: 10,449 Site admin
    Is the table initialised hidden? If so use fnAdjustColumnSizing . If not, please link to a test case.

    Allan
  • BFG86BFG86 Posts: 10Questions: 0Answers: 0
    Thanks for the advice. Here is a detailed solution to my problem. http://www.datatables.net/examples/api/tabs_and_scrolling.html
This discussion has been closed.