Webhi, so i have datatables inside bootstrap modal, and i am using scrollx and scrolly, but the header in the table is not aligned and also not scrolling like the table body. CloudTables … WebFeb 5, 2015 · The "scollCollapse": true tells it to not make the vertical scroll container 500px, if the table itself is less high than that (to avoid empty white space). My problem, is as you can see, there is always a vertical scrollbar being added, even when the table height is less than the given height in the scrollYparameter.
jQuery DataTables - Responsive Table with ScrollY is not …
WebAug 4, 2015 · jQuery DataTables - Responsive Table with ScrollY is not working. I am using DataTables plugin with Responsive Table and fixed yScroll and disabling xScroll. But I am still getting the Horizontal Scrollbar, though I am adding the code like below... WebAug 26, 2015 · Based on this, I was able to make it working (issue: when FixedHeader is floating, sorting would not work ==> see update 1 below to fix it) Explanations: FixedHeader (.dataTables_scrollHeadInner) is a different table outside of datatable (.dataTables_scrollBody) when scrolling vertically, it will check scrolltop and set … cinthia burihan
Datatables.net ScrollX Header and Data column width issues
WebFeb 4, 2013 · Setting the dataTables_scrollBody height will work when window size change, but after table redraw it will roll back using the old sScrollY value, and Neo's code fixed this. :) objDataTable.fnSettings ().oScroll.sY = 101; objDataTable.fnDraw (); $ ('.dataTables_scrollBody').css ('height', 400); Share Follow answered Aug 11, 2013 at … WebJan 14, 2014 · Issue is - When sScrolly is set, datatables calculates width automatically and sets equal width for all columns which it shouldn't be doing as bAutoWidth is set to false. On disabling it, columns widths are appropriately set as per percentages. Any suggestions on how to make it work? Thanks jquery datatable Share Improve this question Follow WebSep 28, 2024 · Like you see above based on classes defined in table DataTable's features enabled for all HTML tables. Test Case 1: Table should fill it's container. Test case 2: Scrolling should not create misalignment. Here my issues is, If I set scrollX: true Testcase 1 fails and Test case 2 success. If I ignore scrollX: true Testcase 1 success and Test ... cinthia covey southbury ct