-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Column widths were not being correctly cleared from the floating…
… element (due to the use of `min-width`) which resulting in poor layout Fix: Unsize needs to be called when the loading element is removed from the DOM Fix: Resize the header/footer when the DataTables `column-sizing` event is triggered - Three individual bugs which were all visible if we used Bootstrap with FixedHeader and Responsive - new example added for that
- Loading branch information
Allan Jardine
committed
Feb 5, 2016
1 parent
0a33797
commit e9e4a93
Showing
2 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<dt-example table-type="html" table-class="display nowrap" order="2" framework="bootstrap"> | ||
|
||
<css lib="datatables fixedheader responsive" /> | ||
<js lib="jquery datatables fixedheader responsive"> | ||
<![CDATA[ | ||
$(document).ready(function() { | ||
var table = $('#example').DataTable( { | ||
responsive: true | ||
} ); | ||
new $.fn.dataTable.FixedHeader( table ); | ||
} ); | ||
]]> | ||
</js> | ||
|
||
<title lib="FixedHeader">Responsive integration (Bootstrap)</title> | ||
|
||
<info><![CDATA[ | ||
FixedHeader will automatically work with the [Responsive](https://datatables.net/extensions/responsive) extension for DataTables. All you need to do is enable both options on the table and they will automatically cooperate. | ||
]]></info> | ||
|
||
</dt-example> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters