Skip to content

Commit f2f3898

Browse files
author
dtbuild
committed
bef31e92a24adf1bf698c7fb359703dcaf38c9f5 Fix: :visible selector will no longer include columns which are hidden by Responsive.
There is an exception - if you specify a column index, the Responsive hidden columns are not taken into account. This might change. Sync to source repo @bef31e92a24adf1bf698c7fb359703dcaf38c9f5
1 parent 2c3b55b commit f2f3898

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

datatables.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
],
1212
"src-repo": "http://github.com/DataTables/DataTablesSrc",
1313
"last-tag": "2.3.6",
14-
"last-sync": "f8181845f754e5e79dd9b6f142c2887e8215f98d"
14+
"last-sync": "bef31e92a24adf1bf698c7fb359703dcaf38c9f5"
1515
}

js/dataTables.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8884,6 +8884,10 @@
88848884
return null;
88858885
}
88868886

8887+
if (col.responsiveVisible === false) {
8888+
return null;
8889+
}
8890+
88878891
// Selector
88888892
if (match[1]) {
88898893
return $(nodes[idx]).filter(match[1]).length > 0 ? idx : null;

js/dataTables.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/dataTables.min.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

js/dataTables.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8849,6 +8849,10 @@ var __column_selector = function ( settings, selector, opts )
88498849
return null;
88508850
}
88518851

8852+
if (col.responsiveVisible === false) {
8853+
return null;
8854+
}
8855+
88528856
// Selector
88538857
if (match[1]) {
88548858
return $(nodes[idx]).filter(match[1]).length > 0 ? idx : null;

0 commit comments

Comments
 (0)