PHP Classes

File: assets/js/datatables/tools/TableTools-master/examples/new_init.xml

Recommend this page to a friend!
  Classes of Tran Tuan   Pretty PHP S3 Files Manager   assets/js/datatables/tools/TableTools-master/examples/new_init.xml   Download  
File: assets/js/datatables/tools/TableTools-master/examples/new_init.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Pretty PHP S3 Files Manager
Web based interface to manage files in Amazon S3
Author: By
Last change:
Date: 8 years ago
Size: 915 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8" ?> <dt-example table-type="html" order="1"> <css lib="datatables tabletools" /> <js lib="jquery datatables tabletools"> <![CDATA[ $(document).ready(function() { var table = $('#example').DataTable(); var tt = new $.fn.dataTable.TableTools( table ); $( tt.fnContainer() ).insertAfter('div.info'); } ); ]]> </js> <title lib="TableTools">Initialisation with `new`</title> <info><![CDATA[ Typically when working with TableTools, the initialisation and insertion into the DOM will be done automatically by DataTables, through the use of the `dt-init dom` parameter. However, it is also possible to initialise TableTools manually as shown in the example below using `new $.fn.dataTable.TableTools();`. Once initialised you can insert the TableTools tool bar node anywhere you wish into the DOM using the `fnContainer()` API method to get the node. ]]></info> </dt-example>