mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-18 11:52:11 +01:00
Fix example: Remove reference to retired TableTools extension
This commit is contained in:
parent
0312f72ad5
commit
af353c8940
@ -1 +1 @@
|
|||||||
4a0db0ca2cec578d83d86ab5a6880616d845e683
|
deca6267b0b1e16b3f330d58d1725c676f0ad332
|
||||||
|
@ -45,15 +45,16 @@ $(document).ready(function() {
|
|||||||
<h1>DataTables example <span>Custom toolbar elements</span></h1>
|
<h1>DataTables example <span>Custom toolbar elements</span></h1>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<p>DataTables inserts DOM elements around the table to control DataTables features, and you can make use of this mechanism as well to insert your own custom
|
<p>DataTables inserts DOM elements around the table to control DataTables features, and you can make use of this mechanism as well to insert your own custom
|
||||||
elements. In this example a <code class="tag" title="HTML tag">div</code> with a class of 'toolbar' is created using <a href=
|
elements. In this example a <code class="tag" title="HTML tag">div</code> with a class of '-string toolbar' is created using <a href=
|
||||||
"//datatables.net/reference/option/dom"><code class="option" title="DataTables initialisation option">dom</code></a>, with which HTML is inserted to create the
|
"//datatables.net/reference/option/dom"><code class="option" title="DataTables initialisation option">dom</code></a>, and jQuery then used to insert HTML into that
|
||||||
toolbar. You could put whatever HTML you want into the toolbar and add event handlers etc.</p>
|
element to create the toolbar. You could put whatever HTML you want into the toolbar!</p>
|
||||||
<p>For more complex features, or for creating reusable plug-ins, DataTables also has a feature plug-in API available, which can be used to create plug-ins which
|
<p>For more complex features, or for creating reusable plug-ins, DataTables also has a feature plug-in API available, which can be used to create plug-ins which
|
||||||
are used in a table by a single character reference in the <a href="//datatables.net/reference/option/dom"><code class="option" title=
|
are used in a table by a single character reference in the <a href="//datatables.net/reference/option/dom"><code class="option" title=
|
||||||
"DataTables initialisation option">dom</code></a> option (like the built in option of <code class="string" title="String">f</code> refers to 'filtering input', you
|
"DataTables initialisation option">dom</code></a> option (like the built in option of <code class="string" title="String">f</code> refers to 'filtering input', you
|
||||||
could have an <code class="string" title="String">F</code> option which creates your own filtering input control, custom to your app).</p>
|
could have an <code class="string" title="String">F</code> option which creates your own filtering input control, custom to your app).</p>
|
||||||
<p><a href="https://datatables.net/extras/tabletools">TableTools</a> is a feature plug-in for DataTables which adds buttons into a toolbar for a table, which
|
<p>There are a number of <a href="//datatables.net/extensions">extensions for DataTables</a> that make use of this ability. For example, <a href=
|
||||||
controls such as copy to clipboard, export and custom buttons.</p>
|
"//datatables.net/extensions/buttons">Buttons</a> is a feature plug-in for DataTables that adds buttons into a toolbar for a table (copy to clipboard, save to
|
||||||
|
Excel / PDF, and more).</p>
|
||||||
</div>
|
</div>
|
||||||
<table id="example" class="display" cellspacing="0" width="100%">
|
<table id="example" class="display" cellspacing="0" width="100%">
|
||||||
<thead>
|
<thead>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user