I have a function const eventOrderByCallback = (event1: MbscCalendarEvent, event2: MbscCalendarEvent): number defined for my eventcalendar to handle the order but it seems that it is not being called from the timeline version of eventcalendar… Is this true? If so, why? If not, is there another prop that potentially disables it?
Ok - yes please provide feedback, thanks. I don’t think the documentation makes it all that clear that eventorder prop is ignored in timeline but perhaps I missed a note about it.
I have some great news for you! We have just shipped Mobiscroll 5.31 which introduces the custom event order functionality to the Timeline and Scheduler views as well.
To make it even simpler, we added the order property to the event data, which, when specified, will be used to order the events, without specifying a custom sort function.