Space between Header and Body
Space between Header and Body
shashi0207
Posts: 1Questions: 0Answers: 0
Hi,
I am using datatables scrolling feature.
Everything is fine but, I am having space between table header and table body.
I want to attach the screen shot but not able to. Please let me know how to resolve this. I am new this forum.
I am using datatables scrolling feature.
Everything is fine but, I am having space between table header and table body.
I want to attach the screen shot but not able to. Please let me know how to resolve this. I am new this forum.
This discussion has been closed.
Replies
$('#myDataTable').dataTable( {
"aaSorting":[[0, "asc" ]],
"sScrollY": 500,
"sScrollX": "90%",
"sScrollXInner": "100%",
"bPaginate": false
});
Allan
I am using blueprintcss to manage the width's of my modules on the page. The div of my 'datatables' table is 390px wide. When sScrollY is off, there is no problem (and a lot less complexity to the table code!), when sScrollY is on, the gap between header and body appears. The width appears to be correct at 390px when looking at the source...
Not sure. will investigate more, or perhaps try v1.9. Maybe the issue has something to do with using blueprintcss in my case.
Thanks.
I had the same problem, where there was a space between the header and body, the size of my sScrollY. I was only using sScrollY, but by adding sScrollX and sScrollXinner, it's working now in IE !!
[quote]
$('#myDataTable').dataTable( {
"aaSorting":[[0, "asc" ]],
"sScrollY": 500,
"sScrollX": "90%",
"sScrollXInner": "100%",
"bPaginate": false
});
[/quote]
Allan