Horizontal scolling does not work
Horizontal scolling does not work
I tried to fix it by myself for a long time but I surrender.
I try to apply the example to my code but nothing happens.
One difference I noticed between the example and my application is that, as soon as there is a need for horizontal scrolling, dataTables generates a fixed width instead of "100%" on elements like "dataTables_scrollHead", "dataTables_scrollBody", "dataTables_scrollFoot" or "table .display .dataTable".
Any idea why ?
I try to apply the example to my code but nothing happens.
One difference I noticed between the example and my application is that, as soon as there is a need for horizontal scrolling, dataTables generates a fixed width instead of "100%" on elements like "dataTables_scrollHead", "dataTables_scrollBody", "dataTables_scrollFoot" or "table .display .dataTable".
Any idea why ?
This discussion has been closed.
Replies
Please link to a test case showing the problem.
Alan
I get this warning in the console : "DataTables warning (table id = 'results-table'): The table cannot fit into the current element which will cause column misalignment. Increase the sScrollXInner value or remove it to allow automatic calculation"
Increasing it or removing it does nothing (except well, removing the warning).
I will figure out a way to put a link later.