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:
parent
649dcd8789
commit
a3a4619f12
6
media/js/jquery.dataTables.js
vendored
6
media/js/jquery.dataTables.js
vendored
@ -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;
|
||||
* }
|
||||
* ]
|
||||
* } ]
|
||||
* } );
|
||||
* } );
|
||||
*/
|
||||
|
@ -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;
|
||||
* }
|
||||
* ]
|
||||
* } ]
|
||||
* } );
|
||||
* } );
|
||||
*/
|
||||
|
@ -1125,6 +1125,7 @@ DataTable.defaults = {
|
||||
* "bStateSave": true,
|
||||
* "fnStateSaveParams": function (oSettings, oData) {
|
||||
* oData.oSearch.sSearch = "";
|
||||
* }
|
||||
* } );
|
||||
* } );
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user