search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

how to find how many events we have in single cell (Scheduler)?

Asked by pushplata
1 month ago.

Hi,

I have to check how many events we have in single cell based on that i have put some condition kindly help me how to do it.

Thanks in advance

Answer posted by Dan Letecky [DayPilot]
1 month ago.

You can use DayPilot.Row.events.forRange() method to get a list of Scheduler events for a specified time range:
https://api.daypilot.org/daypilot-row-events-forrange/

You can also assign custom utilization value to events and get the total for each cell in onBeforeCellRender:
https://doc.daypilot.org/scheduler/resource-utilization/

See also the following tutorial which shows a number of events for child resources in the Scheduler:
https://code.daypilot.org/97538/javascript-scheduler-displaying-group-availability

New Reply
This reply is
Your name (optional):