space around the scroll body :-(
space around the scroll body :-(
I've been playing with DataTables for the past couple of days and I'm pretty impressed with it. Now that I'm digging into more advanced topics like post-processing of the data via aoColumnDefs, I'm even more impressed. I'm seeing if I can get my company to throw some money your way. :-)
Alas, I've run into a problem otherwise I wouldn't be writing. :-) If I use 'sScrollX' on my table, extra space appears around the scrollbody; about a quarter of my row height on the top and half as much again on the left side. It's as if margin-top were set to 20px and margin-left to 10px.
Searching the site for 'scroll body', the first hit is this:
"DataTables - download
Fixed: When scroll collapsed was enabled, and x-scrolling enable but not actively required (i.e. no scrollbar) there would be a gap between the table body ...
www.datatables.net/download"
which leads me to think this is a known problem and was fixed in the latest version, but I've got the latest version (1.7.3).
I've searched for sScrollX and tried the solutions to various problems mentioned to no avail.
Any advice?
Alas, I've run into a problem otherwise I wouldn't be writing. :-) If I use 'sScrollX' on my table, extra space appears around the scrollbody; about a quarter of my row height on the top and half as much again on the left side. It's as if margin-top were set to 20px and margin-left to 10px.
Searching the site for 'scroll body', the first hit is this:
"DataTables - download
Fixed: When scroll collapsed was enabled, and x-scrolling enable but not actively required (i.e. no scrollbar) there would be a gap between the table body ...
www.datatables.net/download"
which leads me to think this is a known problem and was fixed in the latest version, but I've got the latest version (1.7.3).
I've searched for sScrollX and tried the solutions to various problems mentioned to no avail.
Any advice?
This discussion has been closed.
Replies
I hate CSS.
--
faber