Fix - API: `sum()` method example had incorrect usage of

`table().footer()`
pull/242/head
Allan Jardine 9 years ago
parent 41cc62dfcb
commit 99e25cacfe

@ -29,7 +29,7 @@
* $('#example').DataTable( { * $('#example').DataTable( {
* drawCallback: function () { * drawCallback: function () {
* var api = this.api(); * var api = this.api();
* api.table().footer().to$().html( * $( api.table().footer() ).html(
* api.column( 4, {page:'current'} ).data().sum() * api.column( 4, {page:'current'} ).data().sum()
* ); * );
* } * }

Loading…
Cancel
Save