Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Colspan calculation was wrong if the table was hidden, or Respon…
…sive was used - FB 292 - Thread 42447
- Loading branch information
Allan Jardine
committed
Jun 16, 2017
1 parent
24d09ff
commit f1abc53
Showing
2 changed files
with
40 additions
and
5 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,33 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<dt-example table-type="html" table-class="display nowrap" order="8"> | ||
|
||
<css lib="datatables responsive rowgroup"/> | ||
<js lib="jquery datatables responsive rowgroup"> | ||
<![CDATA[ | ||
$(document).ready(function() { | ||
$('#example').DataTable( { | ||
responsive: true, | ||
order: [[2, 'asc']], | ||
rowGroup: { | ||
dataSrc: 2 | ||
} | ||
} ); | ||
} ); | ||
]]> | ||
</js> | ||
|
||
<title lib="RowGroup">Integration with Responsive</title> | ||
|
||
<info><![CDATA[ | ||
This example shows RowGroup being used with the [Responsive extension](https://datatables.net/extensions/responsive) for DataTables. Responsive allows the table to dynamically grow and shrink as the page is resized, or loaded on browsers with different sizes of display. | ||
As can be seen with this example RowGroup and Responsive interact together exactly as would be expected, combining their respective functionality. | ||
]]></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