Comments on: Bootstrap Table Fixed Header using CSS https://w3lessons.info/bootstrap-fixed-table-header-using-css Tutorials on PHP, jQuery & Amazon Web Services Fri, 17 Jan 2020 13:28:48 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Sai https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-5826 Fri, 21 Jun 2019 20:05:21 +0000 https://w3lessons.info/?p=3080#comment-5826 In my situation, I have lots of columns. I really like your example, but I would like to add the ability to scroll horizontally in the table to view all the columns. Currently your solution causes the rightmost columns to go over to a new line. How would I fix this?

]]>
By: Sai https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-5825 Fri, 21 Jun 2019 20:04:16 +0000 https://w3lessons.info/?p=3080#comment-5825 In my situation, I have lots of columns. I really like your example, but I would like to add the ability to scroll horizontally in the table to view all the columns. Currently your solution causes the rightmost columns to go over to a new line.

]]>
By: Vinitha Vincent https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-4310 Fri, 19 Apr 2019 08:53:48 +0000 https://w3lessons.info/?p=3080#comment-4310 In my case I am Having nearly 25 to 30 columns.So, that I cannot use this method. Can You Please Share Other ideas?

]]>
By: Karthikeyan K https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-2074 Thu, 07 Feb 2019 02:55:07 +0000 https://w3lessons.info/?p=3080#comment-2074 In reply to Vinny.

Hi VInny,

could you please share your code? send it to karthi@w3lessons.info

Will check and fix it immediately

Thanks

]]>
By: Vinny https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-2061 Tue, 05 Feb 2019 20:46:16 +0000 https://w3lessons.info/?p=3080#comment-2061 This doesn’t work with rowspans because everything is floated left.

]]>
By: David Buell https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-1526 Tue, 24 Oct 2017 16:40:00 +0000 https://w3lessons.info/?p=3080#comment-1526 In reply to David Buell.

Actually, after implementing I can see that the alignment varies depending on if scrollbar is present or not. If yes then the padding is needed, if not then the original is correct.

]]>
By: Karthikeyan K https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-1502 Tue, 03 Oct 2017 03:59:00 +0000 https://w3lessons.info/?p=3080#comment-1502 In reply to David Buell.

HI David,

Yes.. you are correct..

Thanks

]]>
By: Karthikeyan K https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-1501 Tue, 03 Oct 2017 03:57:00 +0000 https://w3lessons.info/?p=3080#comment-1501 In reply to Keith D Kaiser.

Hi keith,

Just replace .table-fixed thead & gt; tr & gt; th {

with this

.table-fixed thead > tr > th {

Thanks

]]>
By: Keith D Kaiser https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-1500 Mon, 02 Oct 2017 19:53:00 +0000 https://w3lessons.info/?p=3080#comment-1500 All the headers come out in a vertical column with all the values below also in a vertical column. Any idea why this would be?

]]>
By: David Buell https://w3lessons.info/bootstrap-fixed-table-header-using-css#comment-1497 Wed, 27 Sep 2017 18:34:00 +0000 https://w3lessons.info/?p=3080#comment-1497 Column headers don’t line up correctly. Need to add approx 20px padding-right to thead > tr to accomodate for vertical scrollbar in tbody and set background color on tr instead of th.

]]>