Cascade View Changes


I am using the Cascade property for Daily View and it shows up fine.
I have a requirement to show the event that has the created date as most recent to be displayed at the top. Is there a way to do that?

How are the events cascaded by default? Is it based on time when they start or another attribute.

Aman Gulati

there is no easy way to do that.
Order of events is calculated based on event time and event id if times are actual, there is no API for overriding it.
You can try overriding a function that calculates the order of events, although it may be not trivial: … r.js#L4092

Thanks Alexsander. I was able to change the function to sort by the event created date and it is working well.

But i see an issue if the event rolls over from the previous day. Does the cascade handle events that carry over from one date to another?

Aman Gulati

it’s hard to answer this one without knowing what exactly you’ve modified and how the issue looks on the page. Please provide some kind of demo (html file with all needed configs and redefined functions) or you can create sample here -

Fixed this by using

    scheduler.config.all_timed = true;
scheduler.config.multi_day = true;