mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
New: column().visible() and columns().visible() now act as getters or
setters. - See discussion thread 19653
This commit is contained in:
parent
4834aa26be
commit
dcbea43baf
@ -1 +1 @@
|
||||
964addd063b9c201c9206e4fd21aed712c2dd42e
|
||||
9e8608fd117a2f841b3db76e36bebe06e635667f
|
||||
|
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -7929,7 +7929,9 @@
|
||||
|
||||
_api_registerPlural( 'columns().visible()', 'column().visible()', function ( vis ) {
|
||||
return this.iterator( 'column', function ( settings, column ) {
|
||||
return __setColumnVis( settings, column, vis );
|
||||
return vis === undefined ?
|
||||
settings.aoColumns[ column ].bVisible :
|
||||
__setColumnVis( settings, column, vis );
|
||||
} );
|
||||
} );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user