This wont work with my code because I'm using bootsrap responsive table which has more than 40 columns and it is not working on fixed header, I unable to find this thing so please help me to create something like that, and that columns will be managed as per its content
sagar vispute () - 7 years ago - Reply 0
Hi Did you get any solution, i am also looking for same
Mahesh Babu Bokkisam () - 7 years ago - Reply 0
Thank you for this! I looked around for quite a while before finding this solution. It was the only one that worked for me.
Snouto () - 7 years ago - Reply 0
It seems to me that if the content in the Name column is very long, the style is messed up.
LG Optimusv () - 8 years ago - Reply 0
Try the following and see if it helps:
.table-fixed tbody td, .table-fixed thead > tr> th {
display: inline-block;
border-bottom-width: 0;
}
Aravind () - 7 years ago - Reply 0
Full CSS:
.table-fixed thead {
width: 97%;
}
.table-fixed tbody {
height: 230px;
overflow-x: auto;
overflow-y: auto;
width: 99%;
}
.table-fixed thead, .table-fixed tbody, .table-fixed tr, .table-fixed td, .table-fixed th {
display: block;
}
.table-fixed tbody td, .table-fixed thead > tr> th {
display: inline-block;
border-bottom-width: 0;
}
Aravind () - 7 years ago - Reply 0