- Home
- Forum
- React - EJ 2
- Lazy Loading for Month Timeline View
Lazy Loading for Month Timeline View
As described in this post I'd like to have a 12 month timeline view. Since this would load a lot of events I'd like to make use of the lazy load feature. However I always get Start and End for the full year, not limited to just the viewport.
I'm using the Datamanger with UrlAdaptor to get the data from my backend.
Am I missing something here?
Hi Thomas,
We can suggest you can utilize the schedule data virtualization. The attached SB sample demonstration solution in below.
SB: https://ej2.syncfusion.com/react/demos/#/fluent2/schedule/data-virtualization
In data virtualization, appointments are loaded only for the resources currently being displayed. This feature is supported only in vertical scrolling and not in horizontal scrolling.
Please try the solution and let us know if you need any further assistance.
Regards,
Ram
A vertical view is unfortunately not an option, is lazy loading for timeline views on the roadmap?
Hi Thomas,
In the previously shared demo link, vertical views were not included. However,
we would like to clarify that data virtualization functions seamlessly in both
vertical and timeline views within the Scheduler component. When lazy loading
is enabled, only the events within the visible viewport will be rendered.
Demo link: https://ej2.syncfusion.com/react/demos/#/fluent2/schedule/data-virtualization
Enable lazyLoading UG: https://ej2.syncfusion.com/react/documentation/schedule/virtual-scrolling
Sample link: https://stackblitz.com/edit/react-iacnka-wsude4?file=index.js
Regards,
Vijay
Here's a fork of your sample reduced to just the timeline view and with interation set to 12 for the full year.
In this case the appointments for all months are being loaded and reloads are only based on vertical scrolling. I'd like to lazy load based on the shown timeframe, not the re
https://stackblitz.com/edit/react-iacnka-sjy9fg?file=index.js
Hi Thomas
We have logged a feature request for this requirement, and the feature will be included in any of our upcoming releases. Track the status by using the feedback link below.
Generally, we will plan any feature implementation based on customer request count, feature rank, and Wishlist plan. You can cast your vote in the feedback.
Regards,
Vijay
- 5 Replies
- 3 Participants
- Marked answer
-
TP Thomas Pentenrieder
- Oct 1, 2024 03:51 PM UTC
- Oct 7, 2024 10:38 AM UTC