1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-19 17:54:14 +01:00

Fixed: If a TR height was specified via css globally (for example tr{height:20px}) this would cause the hidden header and footer in scrolling tables to be shown. Added override by CSS style for this - 2765

This commit is contained in:
Allan Jardine 2010-09-30 21:47:46 +01:00
parent 81107d0b7d
commit 596ea4b9e9
2 changed files with 3 additions and 2 deletions

View File

@ -14,8 +14,7 @@
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#example').dataTable( {
"bStateSave": true,
"aaSorting": []
"bStateSave": true
} );
} );
</script>

View File

@ -3697,6 +3697,7 @@
nToSize.style.width = _fnStringToCss( iWidth );
aApplied.push( iWidth );
}, anHeadSizers, anHeadToSize );
$(anHeadSizers).height(0);
if ( o.nTFoot !== null )
{
@ -3715,6 +3716,7 @@
nToSize.style.width = _fnStringToCss( iWidth );
aApplied.push( iWidth );
}, anFootSizers, anFootToSize );
$(anFootSizers).height(0);
}
/*