scrollX giving space between table head and body
scrollX giving space between table head and body

I know the problem but I dont know how to fix it. I passed dataTable from jquery ajax request and set scrollX : true
. it give me gap space between table head and body. everything is good without the scrollX
. I think the gap caused by the margin-bottom style for table. the scrollX properties split up the table, so the table head part as a single <table>
and the body part as single <table>
.
is that some kind of bug? I'm new in dataTable and I'm sorry for my english. I dont know how to provide the controller on live.datatables.net, so I'm not provided the code, just tell me if I should provide the code somehow.
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
I'm not sure is it goes like this? http://live.datatables.net/rumofiku/1/edit?html,js,output
im not sure where I should put the controller code, so I just put it here, and here is the controller called from ajax request:
The problem you described is hard to diagnose without seeing the issue, so we really need a link to your page or a test case that replicates the issue, as I requested in my previous reply,
Colin