-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72174fb
commit 9241a5f
Showing
11 changed files
with
32 additions
and
22 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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* Responsive Tables v6.1.1 (http://gergeo.se/RWD-Table-Patterns) | ||
* Responsive Tables v6.1.2 (http://gergeo.se/RWD-Table-Patterns) | ||
* This is an awesome solution for responsive tables with complex data. | ||
* Authors: Nadan Gergeo <[email protected]> (www.blimp.se), Lucas Wiener <[email protected]> & "Maggie Wachs (www.filamentgroup.com)" | ||
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT) | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* Responsive Tables v6.1.1 (http://gergeo.se/RWD-Table-Patterns) | ||
* Responsive Tables v6.1.2 (http://gergeo.se/RWD-Table-Patterns) | ||
* This is an awesome solution for responsive tables with complex data. | ||
* Authors: Nadan Gergeo <[email protected]> (www.blimp.se), Lucas Wiener <[email protected]> & "Maggie Wachs (www.filamentgroup.com)" | ||
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT) | ||
|
@@ -590,6 +590,11 @@ | |
ResponsiveTable.prototype.setupBodyAndFootRows = function() { | ||
var that = this; | ||
|
||
// get fresh lists | ||
that.$tbody = that.$table.find('tbody'); | ||
that.$bodyRows = that.$tbody.find('tr'); | ||
that.$footRows = that.$table.find('tfoot').find('tr'); | ||
|
||
// for each body | ||
that.$bodyRows.each(function(index){ | ||
that.setupRow($(this), that.headerColIndices, index); | ||
|
@@ -714,7 +719,7 @@ | |
this.$tableClone.find('tbody, tfoot').remove(); | ||
|
||
// Make new clone of tbody and tfoot | ||
var $tbodyClone = this.$table.find('tbody, tfoot').clone(); | ||
var $tbodyClone = this.$bodyAndFootRows.clone(); | ||
|
||
//replace ids | ||
$tbodyClone.find('[id]').each(function() { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* Responsive Tables v6.1.1 (http://gergeo.se/RWD-Table-Patterns) | ||
* Responsive Tables v6.1.2 (http://gergeo.se/RWD-Table-Patterns) | ||
* This is an awesome solution for responsive tables with complex data. | ||
* Authors: Nadan Gergeo <[email protected]> (www.blimp.se), Lucas Wiener <[email protected]> & "Maggie Wachs (www.filamentgroup.com)" | ||
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT) | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -33,16 +33,16 @@ | |
<link rel="manifest" href="/site.webmanifest"> | ||
|
||
<!-- Font Awesome --> | ||
<link async href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/fontawesome.min.css" rel="stylesheet" crossorigin="anonymous" referrerpolicy="no-referrer"> | ||
<link async href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/solid.min.css" rel="stylesheet" crossorigin="anonymous" referrerpolicy="no-referrer"> | ||
<link async href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/brands.min.css" rel="stylesheet" crossorigin="anonymous" referrerpolicy="no-referrer"> | ||
<link async href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/fontawesome.min.css" rel="stylesheet" crossorigin="anonymous" referrerpolicy="no-referrer"> | ||
<link async href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/solid.min.css" rel="stylesheet" crossorigin="anonymous" referrerpolicy="no-referrer"> | ||
<link async href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/brands.min.css" rel="stylesheet" crossorigin="anonymous" referrerpolicy="no-referrer"> | ||
|
||
<!-- Latest compiled and minified Bootstrap CSS --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"> | ||
|
||
<!-- Responsive Tables --> | ||
<link rel="stylesheet" href="css/rwd-table.min.css?v=6.1.1"> | ||
<link rel="stylesheet" href="css/docs.min.css?v=6.1.1"> | ||
<link rel="stylesheet" href="css/rwd-table.min.css?v=6.1.2"> | ||
<link rel="stylesheet" href="css/docs.min.css?v=6.1.2"> | ||
|
||
<script type="text/javascript"> | ||
var _gaq = _gaq || []; | ||
|
@@ -113,9 +113,9 @@ <h2> | |
<p class="desc">This is an <strike>experimental</strike> awesome solution for responsive tables with complex data.</p> | ||
|
||
<div class="d-flex flex-column flex-sm-row"> | ||
<a href="https://github.com/nadangergeo/RWD-Table-Patterns/archive/v6.1.1.zip" class="btn btn-link btn-outline-dark position-relative float-start" role="button"> | ||
<a href="https://github.com/nadangergeo/RWD-Table-Patterns/archive/v6.1.2.zip" class="btn btn-link btn-outline-dark position-relative float-start" role="button"> | ||
<i class="fa fa-download"></i> Download | ||
<small class="text-muted position-absolute bottom-0 start-50 translate-middle-x pb-1">v.6.1.1</small> | ||
<small class="text-muted position-absolute bottom-0 start-50 translate-middle-x pb-1">v.6.1.2</small> | ||
</a> | ||
|
||
<a href="https://github.com/nadangergeo/RWD-Table-Patterns" class="btn btn-link btn-outline-dark position-relative float-start" role="button"> | ||
|
@@ -1578,7 +1578,7 @@ <h4>no-js class</h4> | |
<!-- Latest compiled and minified Bootstrap JavaScript --> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
|
||
<script src="js/rwd-table.js?v=6.1.1"></script> | ||
<script src="js/rwd-table.js?v=6.1.2"></script> | ||
<script src="js/docs.min.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* Responsive Tables v6.1.1 (http://gergeo.se/RWD-Table-Patterns) | ||
* Responsive Tables v6.1.2 (http://gergeo.se/RWD-Table-Patterns) | ||
* This is an awesome solution for responsive tables with complex data. | ||
* Authors: Nadan Gergeo <[email protected]> (www.blimp.se), Lucas Wiener <[email protected]> & "Maggie Wachs (www.filamentgroup.com)" | ||
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT) | ||
|
@@ -590,6 +590,11 @@ | |
ResponsiveTable.prototype.setupBodyAndFootRows = function() { | ||
var that = this; | ||
|
||
// get fresh lists | ||
that.$tbody = that.$table.find('tbody'); | ||
that.$bodyRows = that.$tbody.find('tr'); | ||
that.$footRows = that.$table.find('tfoot').find('tr'); | ||
|
||
// for each body | ||
that.$bodyRows.each(function(index){ | ||
that.setupRow($(this), that.headerColIndices, index); | ||
|
@@ -714,7 +719,7 @@ | |
this.$tableClone.find('tbody, tfoot').remove(); | ||
|
||
// Make new clone of tbody and tfoot | ||
var $tbodyClone = this.$table.find('tbody, tfoot').clone(); | ||
var $tbodyClone = this.$bodyAndFootRows.clone(); | ||
|
||
//replace ids | ||
$tbodyClone.find('[id]').each(function() { | ||
|
Oops, something went wrong.