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

MaxEvents for scheduler is possible?

Asked by Adam
1 year ago.

Hello Team ,

We have requirement, when there are more than three events in Scheduler cell, we have to add link button to particular cell , once click which will open a modal to see these events - similar to how this works in the calendar,
https://javascript.daypilot.org/demo/month/eventsmax.html
Can you please help on this ?

Thanks,
Adam

Comment posted by Dan Letecky [DayPilot]
1 year ago.

We are looking into this. The current implementation that is used in the monthly calendar has some drawbacks - there can be situations where long overlapping events are arranged in a way that the first x lines of a cell are empty.

In the Scheduler, it's more likely that you will display long overlapping events and there needs to be a way to get more information about their exact position.

I'll keep you updated.

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

This option is now available in the Scheduler (since version 2023.1.5515). You can specify a maximum number of lines for each row using the new "maxLines" property.

For an example, please see the following tutorial:
https://code.daypilot.org/18761/javascript-scheduler-max-events-per-row

Comment posted by Anonymous
1 year ago.

Thanks!

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.