When are the fetch-operations in the calendar called? Are they called when you change the week by pressing the "next week" button?
Announcement
Collapse
No announcement yet.
X
-
Actually I see the following:
so it seems that only the first 75 events are fetched. But I don't see any where clause taking the startdate/enddate into account. So if I have more than 75 events, the first 75 events will be loaded, ignoring the event dates? This doesn't seem correct if I understand correctly.Code:... y WHERE y.rowID BETWEEN 1 AND 75
And when will the next 75 events be loaded ? Since the start/end-dates are not taken into account?
Comment
-
If I have 449 events, I see:
and then:Code:y WHERE y.rowID BETWEEN 1 AND 75
So it seems to really fetch everything, in two rounds.Code:y WHERE y.rowID BETWEEN 76 AND 449
This is not scalable, why isn't it implemented like the ListGrids?
In a multi-user environment the 75 events are reached quickly.
Comment
-
A follow up on this:
We misspoke on the previous post about adding this feature to 10.0.
In 10.1 and 10.0 we will be removing the 0-75 row range in the fetch which doesn't make sense in the absence of a date based fetching mechanism and is a bug.
More intelligent date based fetching is on the roadmap for 10.1, though we aren't guaranteeing an ETA.
(If this is essential for you, prioritizing it would be an eligable feature sponsorship).
In the meantime, if you need a more intelligent fetching approach, the right solution is to have application code perform a fetch against the dataSource and apply the result to the Calendar via setData. The dateChanged event can be used to react to the user changing views.
Sorry for the confusion, and we'll also remove the other post to avoid confusing other people browsing this thread
Regards
Isomorphic SoftwareLast edited by Isomorphic; 18 Feb 2015, 14:54. Reason: modified to state we're removing rather than editing previous post
Comment
Comment