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:
parent
81107d0b7d
commit
596ea4b9e9
@ -14,8 +14,7 @@
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
$(document).ready(function() {
|
||||
$('#example').dataTable( {
|
||||
"bStateSave": true,
|
||||
"aaSorting": []
|
||||
"bStateSave": true
|
||||
} );
|
||||
} );
|
||||
</script>
|
||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user