Using sScrollY with the possibility of a few rows
Using sScrollY with the possibility of a few rows
If the table below has a small number of rows (for example, 2) there is a gap between the tbody and the tfoot. Is there a way around this?
[code]
// Scrolling DataTable
scrolling_tables = $(".scrolling").dataTable( {
"sScrollY" : "500px",
"bPaginate" : false,
"bLengthChange" : false,
"bFilter" : false,
"bInfo" : false,
"bStateSave" : true,
"bSort" : false
});
foo
foo
foo
foo
foo
foo
[/code]
[code]
// Scrolling DataTable
scrolling_tables = $(".scrolling").dataTable( {
"sScrollY" : "500px",
"bPaginate" : false,
"bLengthChange" : false,
"bFilter" : false,
"bInfo" : false,
"bStateSave" : true,
"bSort" : false
});
foo
foo
foo
foo
foo
foo
[/code]
This discussion has been closed.
Replies