Skip to content
Permalink
Browse files

Tables: Added documentation on how to leverage DataTables *.dt events

  • Loading branch information...
Paul Jackson Paul Jackson
Paul Jackson authored and Paul Jackson committed Jul 30, 2014
1 parent cb28a77 commit 02307fcc9e9284d9980d95a4302b724df4367679
Showing with 22 additions and 2 deletions.
  1. +11 −1 site/pages/docs/ref/tables/tables-en.hbs
  2. +11 −1 site/pages/docs/ref/tables/tables-fr.hbs
@@ -6,7 +6,7 @@
"categoryfile": "plugins",
"description": "Integrates the DataTables plugin into WET providing searching, sorting, filtering, pagination and other advanced features for tables.",
"altLangPrefix": "tables",
"dateModified": "2014-07-28"
"dateModified": "2014-07-30"
}
---
<span class="wb-prettify all-pre hide"></span>
@@ -67,6 +67,16 @@
<pre><code>$( document ).on( "wb-ready.wb-tables", ".wb-tables", function( event, instance, settings ) {
});</code></pre>
<pre><code>$elm.on( "wb-ready.wb-tables", function( event, instance, settings ) {
});</code></pre>
</td>
</tr>
<tr>
<td><code>*.dt</code> events (e.g., <code>xhr.dt</code></td>
<td>Events triggered automatically by DataTables (<a href="http://datatables.net/reference/event/">documentation on DataTables events</a>.</td>
<td>Used by DataTables to identify what events are occurring.
<pre><code>$( document ).on( "xhr.dt", ".wb-tables", function( event ) {
});</code></pre>
<pre><code>$elm.on( "xhr.dt", function( event ) {
});</code></pre>
</td>
</tr>
@@ -6,7 +6,7 @@
"categoryfile": "plugins",
"description": "Ajoutes des fonctionnalités aux tableaux telles que la recherche, le tri, le filtrage et la pagination.",
"altLangPrefix": "tables",
"dateModified": "2014-07-28"
"dateModified": "2014-07-30"
}
---
<span class="wb-prettify all-pre hide"></span>
@@ -68,6 +68,16 @@
<pre><code>$( document ).on( "wb-ready.wb-tables", ".wb-tables", function( event, instance, settings ) {
});</code></pre>
<pre><code>$elm.on( "wb-ready.wb-tables", function( event, instance, settings ) {
});</code></pre>
</td>
</tr>
<tr>
<td><code>*.dt</code> events (e.g., <code>xhr.dt</code></td>
<td>Events triggered automatically by DataTables (<a href="http://datatables.net/reference/event/">documentation on DataTables events</a>.</td>
<td>Used by DataTables to identify what events are occurring.
<pre><code>$( document ).on( "xhr.dt", ".wb-tables", function( event ) {
});</code></pre>
<pre><code>$elm.on( "xhr.dt", function( event ) {
});</code></pre>
</td>
</tr>

0 comments on commit 02307fc

Please sign in to comment.
You can’t perform that action at this time.