1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Fix - documentation: Two syntax errors in the examples, one for fnStateSaveParams and the other mDataProp - 11083

This commit is contained in:
Allan Jardine 2012-07-30 10:04:42 +01:00
parent 649dcd8789
commit a3a4619f12
3 changed files with 6 additions and 6 deletions

View File

@ -8896,6 +8896,7 @@
* "bStateSave": true,
* "fnStateSaveParams": function (oSettings, oData) {
* oData.oSearch.sSearch = "";
* }
* } );
* } );
*/
@ -10117,8 +10118,7 @@
* // sorting, filtering and display. In this case, currency (price)
* $(document).ready(function() {
* var oTable = $('#example').dataTable( {
* "aoColumnDefs": [
* {
* "aoColumnDefs": [ {
* "aTargets": [ 0 ],
* "mData": function ( source, type, val ) {
* if (type === 'set') {
@ -10137,7 +10137,7 @@
* // 'sort', 'type' and undefined all just use the integer
* return source.price;
* }
* ]
* } ]
* } );
* } );
*/

View File

@ -402,8 +402,7 @@ DataTable.defaults.columns = {
* // sorting, filtering and display. In this case, currency (price)
* $(document).ready(function() {
* var oTable = $('#example').dataTable( {
* "aoColumnDefs": [
* {
* "aoColumnDefs": [ {
* "aTargets": [ 0 ],
* "mData": function ( source, type, val ) {
* if (type === 'set') {
@ -422,7 +421,7 @@ DataTable.defaults.columns = {
* // 'sort', 'type' and undefined all just use the integer
* return source.price;
* }
* ]
* } ]
* } );
* } );
*/

View File

@ -1125,6 +1125,7 @@ DataTable.defaults = {
* "bStateSave": true,
* "fnStateSaveParams": function (oSettings, oData) {
* oData.oSearch.sSearch = "";
* }
* } );
* } );
*/