Our pure JavaScript Scheduler component


Post by v-paulrausch »

Hi Team,

We are using below code to highlight the TimeSpan but in the initial load it is not applying to all the resources(after reload it is working). need a solution for first load. below is the screenshot for ref.

 _schedulerProRef.current.instance.highlightTimeSpan({
   startDate: startDateTime,
   endDate: endDateTime,
   surround: true
 });
Screenshot 2024-03-05 191914.png
Screenshot 2024-03-05 191914.png (47.89 KiB) Viewed 60 times

Post by tasnim »

Hi,

You could listen to https://bryntum.com/products/schedulerpro/docs/api/SchedulerPro/model/ProjectModel#event-load event and apply that method, you should get your desired result.

Does that help?


Post Reply