mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Api: table().header() and table().footer() methods for naming consistency
- The columns() methods have header() and footer() children to get the header and footer cells for the columns. For naming consistency the table() methods should be named likewise
This commit is contained in:
parent
b956a69271
commit
5c9d54e6f5
@ -1 +1 @@
|
||||
ea1d3f052c625f35711c8256b3ef43234edeb84b
|
||||
d1221f86def93ca4d1bdf526a7812d2d64891967
|
||||
|
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -6843,14 +6843,14 @@
|
||||
} );
|
||||
|
||||
|
||||
_api_registerPlural( 'tables().head()', 'table().head()' , function () {
|
||||
_api_registerPlural( 'tables().header()', 'table().header()' , function () {
|
||||
return this.iterator( 'table', function ( ctx ) {
|
||||
return ctx.nTHead;
|
||||
} );
|
||||
} );
|
||||
|
||||
|
||||
_api_registerPlural( 'tables().foot()', 'table().foot()' , function () {
|
||||
_api_registerPlural( 'tables().footer()', 'table().footer()' , function () {
|
||||
return this.iterator( 'table', function ( ctx ) {
|
||||
return ctx.nTFoot;
|
||||
} );
|
||||
|
Loading…
x
Reference in New Issue
Block a user