SmartClient Version: v11.0p_2016-05-27/EVAL Development Only (expires 2016.07.26_09.52.03) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)
Chrome on OSX
Please remove the autoFetchData:true setting from the #adaptiveFilterFS sample.
Then execute:
The data is fetched accordingly to the implicitCriteria.
Then change the criteria:
Now, supplyList.willFetchData() will return false, and refreshData will fetch all data.
Only a call to invalidateCache will fetch the correct data (but not if called after refreshData)
Chrome on OSX
Please remove the autoFetchData:true setting from the #adaptiveFilterFS sample.
Then execute:
Code:
supplyList.setProperty('implicitCriteria', {_constructor:'AdvancedCriteria', operator:'and',criteria:[{fieldName:'itemName', operator:'iStartsWith', value:'add'}]}) supplyList.fetchData()
Then change the criteria:
Code:
supplyList.setProperty('implicitCriteria', {_constructor:'AdvancedCriteria', operator:'and',criteria:[{fieldName:'itemName', operator:'iContains', value:'add'}]})
Only a call to invalidateCache will fetch the correct data (but not if called after refreshData)
Comment