1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-28 10:24:10 +01:00

Merge branch 'master' of github.com:DataTables/DataTablesSrc

This commit is contained in:
Allan Jardine 2017-04-05 15:46:13 +01:00
parent 213e2ca9b0
commit 9ad05004b6
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1 @@
70a87dbd3621c22b911b06d1a7c2988f42af6503
865e2dc7874918b5b15f315c90b983c40d04323c

View File

@ -77,6 +77,11 @@ $(document).ready(function() {
is added by the <a href="//datatables.net/reference/option/drawCallback"><code class="option" title="DataTables initialisation option">drawCallback</code></a>
function, which will parse through the rows which are displayed, and enter a grouping TR element where a new group is found. A <code>click</code> event handler is
added for the grouping rows to allow the grouping order to be restored as well as ordering by any other column.</p>
<h3 data-anchor="RowGroup-extension"><a name="RowGroup-extension" id="RowGroup-extension"></a>RowGroup extension</h3>
<p>Important note: DataTables now has a <a href="https://datatables.net/extensions/rowgroup">RowGroup</a> extension that provides a formal API for the abilities in
this demo and extends upon them in a number of significant and useful ways. This example is retained as a useful demonstration of how the <a href=
"//datatables.net/reference/option/drawCallback"><code class="option" title="DataTables initialisation option">drawCallback</code></a> option can be used, but for
new sites that make use of row grouping, it is suggested that you use the new RowGroup extension.</p>
</div>
<div class="demo-html"></div>
<table id="example" class="display" cellspacing="0" width="100%">