1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-27 00:54:15 +01:00

New: Add dt-api table().container() and dt-api tables().containers() methods to get the container -tag div elements for table(s)

* This is likely to be of more interest to plug-in authors rather than
  for general DataTables usage, but I've found myself wanting it a
  couple of times recently for plug-ins.
This commit is contained in:
Allan Jardine 2014-06-18 14:50:56 +01:00
parent c38e140a52
commit 73ed6c4725
2 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
89ab148ad45a219c2623fcc75b15a59b7d0c7a2e 005ac1a540dfef114feaefe0968d647da0ae87c1

View File

@ -7043,6 +7043,13 @@
} ); } );
_api_registerPlural( 'tables().containers()', 'table().container()' , function () {
return this.iterator( 'table', function ( ctx ) {
return ctx.nTableWrapper;
} );
} );
/** /**
* Redraw the tables in the current context. * Redraw the tables in the current context.