1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-18 11:52:11 +01:00

Docs: Fix - Parameter for filtering options in state saving examples should be oSearch, not oFilter - 8408

This commit is contained in:
Allan Jardine 2012-02-07 14:28:46 +00:00
parent 68975aff10
commit 6021360da1
2 changed files with 6 additions and 6 deletions

View File

@ -8507,7 +8507,7 @@
* $('#example').dataTable( {
* "bStateSave": true,
* "fnStateLoadParams": function (oSettings, oData) {
* oData.oFilter.sSearch = "";
* oData.oSearch.sSearch = "";
* } );
* } );
*
@ -8538,7 +8538,7 @@
* $('#example').dataTable( {
* "bStateSave": true,
* "fnStateLoaded": function (oSettings, oData) {
* alert( 'Saved filter was: '+oData.oFilter.sSearch );
* alert( 'Saved filter was: '+oData.oSearch.sSearch );
* } );
* } );
*/
@ -8600,7 +8600,7 @@
* $('#example').dataTable( {
* "bStateSave": true,
* "fnStateSaveParams": function (oSettings, oData) {
* oData.oFilter.sSearch = "";
* oData.oSearch.sSearch = "";
* } );
* } );
*/

View File

@ -1030,7 +1030,7 @@ DataTable.defaults = {
* $('#example').dataTable( {
* "bStateSave": true,
* "fnStateLoadParams": function (oSettings, oData) {
* oData.oFilter.sSearch = "";
* oData.oSearch.sSearch = "";
* } );
* } );
*
@ -1061,7 +1061,7 @@ DataTable.defaults = {
* $('#example').dataTable( {
* "bStateSave": true,
* "fnStateLoaded": function (oSettings, oData) {
* alert( 'Saved filter was: '+oData.oFilter.sSearch );
* alert( 'Saved filter was: '+oData.oSearch.sSearch );
* } );
* } );
*/
@ -1123,7 +1123,7 @@ DataTable.defaults = {
* $('#example').dataTable( {
* "bStateSave": true,
* "fnStateSaveParams": function (oSettings, oData) {
* oData.oFilter.sSearch = "";
* oData.oSearch.sSearch = "";
* } );
* } );
*/