mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
Docs: row() and rows() API documentation
This commit is contained in:
parent
8dcdb94b15
commit
8919616833
@ -1 +1 @@
|
||||
a050abb843458cc9cf7725d4ccce7bb367e82c3e
|
||||
39706899b20912b09581cc44ef838d469ab4e2fa
|
||||
|
7
media/js/jquery.dataTables.js
vendored
7
media/js/jquery.dataTables.js
vendored
@ -7361,7 +7361,7 @@
|
||||
} );
|
||||
|
||||
|
||||
_api_register( 'rows().data()', function ( data ) {
|
||||
_api_register( 'rows().data()', function () {
|
||||
return this.iterator( true, 'rows', function ( settings, rows ) {
|
||||
return _pluck_order( settings.aoData, rows, '_aData' );
|
||||
} );
|
||||
@ -7369,7 +7369,8 @@
|
||||
|
||||
_api_registerPlural( 'rows().cache()', 'row().cache()', function ( type ) {
|
||||
return this.iterator( 'row', function ( settings, row ) {
|
||||
return type === 'search' ? row._aFilterData : row._aSortData;
|
||||
var r = settings.aoData[ row ];
|
||||
return type === 'search' ? r._aFilterData : r._aSortData;
|
||||
} );
|
||||
} );
|
||||
|
||||
@ -7380,7 +7381,7 @@
|
||||
} );
|
||||
|
||||
|
||||
_api_registerPlural( 'rows().indexes()', 'row().index()', function ( src ) {
|
||||
_api_registerPlural( 'rows().indexes()', 'row().index()', function () {
|
||||
return this.iterator( 'row', function ( settings, row ) {
|
||||
return row;
|
||||
} );
|
||||
|
Loading…
Reference in New Issue
Block a user