-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve performance when there are thousands of events - load events via ajax? #31
Comments
In fact, there is. A bit "hidden", as it works with exposed filters. The GET params Fullcalendar (always) sends are "start" and "end". And if your view uses these key(s), the filtering should work. Need to elaborate a real example for that. Edit: oops, I mixed that up with "fullcalendar feed", which does exactly that. |
@herbdool your request makes sense. In order to get this working, we'd only need to allow empty calendars to render. That's not hard. Then you'd add a "Fullcalendar feed" (Fullcalendar JSON), configure your fields, and add an exposed filter to that json view for start and end. You won't see form items in the preview, of course, but you can see them in action on your json path: On /fullcalendar-feed-test.json (replace with your actual path), you'll get a lot of records. Now filter with URL params like Please note that the views preview was broken, but is now fixed (different issue). |
I'm testing this out with an existing client site that has over 6500 events over quite a few years. This views plugin loads all events at once in order to render the calendar. Perhaps there's a way to page the content loading with AJAX. It might require a pager that can page by date.
The text was updated successfully, but these errors were encountered: