SmartClient Version: v13.1p_2025-05-03/Enterprise Deployment (built 2025-05-03)
Hello, I just noticed that the Calendar performs a fetch automatically, even though autoFetchData has not been set.
This also happens in the showcase, in the databoundCalendar sample, if you remove autoFetchData.
In my application, where the dataSource is not clientOnly as in the databoundCalendar sample, the call stack is as follows:
Hello, I just noticed that the Calendar performs a fetch automatically, even though autoFetchData has not been set.
This also happens in the showcase, in the databoundCalendar sample, if you remove autoFetchData.
In my application, where the dataSource is not clientOnly as in the databoundCalendar sample, the call stack is as follows:
Code:
[c]RPCManager.sendRequest(request=>Obj) DataSource.performSCServerOperation(dsRequest=>Obj, data=>Obj{_constructor:AdvancedCriteria}) DataSource.sendDSRequest(dsRequest=>Obj) DataSource.performDSOperation(operationType=>"fetch", data=>Obj{_constructor:AdvancedCriteria}, callback=>Obj, requestProperties=>Obj) DataSource.fetchData(criteria=>Obj{_constructor:AdvancedCriteria}, callback=>Obj, requestProperties=>Obj) ResultSet.fetchRemoteData(serverCriteria=>Obj{_constructor:AdvancedCriteria}, startRow=>undef, endRow=>undef) ResultSet._fetchAllRemoteData() ResultSet.getRange(start=>0, end=>1, ignoreCache=>undef, fetchNow=>undef) ResultSet.get(pos=>0) Canvas.requestVisibleRows() Canvas.filterWithCriteria(criteria=>Obj{_constructor:AdvancedCriteria}, operation=>Obj{ID:SCUOLA_CALCIO_PLANNING_ATTIVITA_fetch}, context=>Obj) Canvas._filter(type=>"fetch", criteria=>Obj{_constructor:AdvancedCriteria}, callback=>undef, requestProperties=>Obj) Class.invokeSuper(clazz=>null, methodName=>"_filter", a=>undef, b=>undef, c=>undef, d=>undef, e=>undef, f=>undef, g=>undef, h=>undef, i=>undef, j=>undef, lastArg=>undef) Class.Super(methodName=>"_filter", args=>[object Arguments], nativeArguments=>undef) Calendar._filter(type=>"fetch", criteria=>undef, callback=>undef, requestProperties=>Obj, doneSaving=>undef) Canvas.fetchData(criteria=>undef, callback=>undef, requestProperties=>undef) CalendarView._refreshData() CalendarView.refreshEvents(caller=>"draw") callback() [c]Class.fireCallback(callback=>callback(), argNames=>null, args=>null, target=>null, catchErrors=>true) [c]Timer._fireTimeout(ID=>"_timeout39", tmrID=>757, delayedTmrID=>undef) anonymous() "isc.Timer._fireTimeout(ID, tmrID);"
Comment