Bootstrap 3 + horizontal scrolling
Bootstrap 3 + horizontal scrolling
Hi everyone
I want to integrate Bootstrap 3 with DT, but number of column is large and dynamic in almost cases. I set "sScrollX": "auto" which creates a issue in header (misaligned). Someone was trying to make the same?, please give me any clue, would be appreciated.
Use Case: http://live.datatables.net/usuvos/3
Thanks
Jonnatan
I want to integrate Bootstrap 3 with DT, but number of column is large and dynamic in almost cases. I set "sScrollX": "auto" which creates a issue in header (misaligned). Someone was trying to make the same?, please give me any clue, would be appreciated.
Use Case: http://live.datatables.net/usuvos/3
Thanks
Jonnatan
This discussion has been closed.
Replies
Find the below link to get updated CSS and replace it with demo_page.css
Link - https://gist.github.com/jonsxaero/6177314
Bookmarked to look at when I can make a little bit of time to do so as this is obviously quite important for BS3 integration.
Allan
we look forward to the solution
Allan
Thank's for post, you are great, this work fine.
The Table headings are rendered as a table separate from the data in the grid. This is causing some small but noticeable misalignment with the columns in the Table body.
Allan
Thanks Allan for quik replay,
here is test link http://jsfiddle.net/chavdamalde/46jwU/10/
Thanks!
I fixed this using the BS3 master code and used TDs instead of THs in the THEAD. Something about using THs throws the alignment really off.