header width is not matching the body width
header width is not matching the body width
kishore109
Posts: 6Questions: 0Answers: 0
I use dataTables to fix header. When I run the application and when the table gets loaded, the header width is not same as body width and when I click on the header once, then the width gets adjusted. Could someone help me to resolve this?
[code]
$("#rates").dataTable({
"bPaginate": false,
"sScrollY": "250px",
"bAutoWidth": false,
"bScrollCollapse": true,
"fnInitComplete": function() {
this.css("visibility", "visible");},
"bLengthChange": false,
"bFilter": false,
"sDom": '<"top">rt<"bottom"flp><"clear">',
});
[/code]
[code]
$("#rates").dataTable({
"bPaginate": false,
"sScrollY": "250px",
"bAutoWidth": false,
"bScrollCollapse": true,
"fnInitComplete": function() {
this.css("visibility", "visible");},
"bLengthChange": false,
"bFilter": false,
"sDom": '<"top">rt<"bottom"flp><"clear">',
});
[/code]
This discussion has been closed.