Skip to main content

onViewMoreClick

Description

Fires when the user clicks on the 'View more' link in the Month view (the Month view only)

onViewChange: (date: object) => boolean

Parameters

  • date - (required) object - the date of the cell inside which the user clicks on the 'View more' link

Returns

  • result - (boolean) - defines whether the default action of the event will be triggered (true) or canceled (false)

Example

scheduler.attachEvent("onViewMoreClick", function(date){
//any custom logic here
});

Details

The event is blockable. Return false, and the Month view won't be changed to the Day view after clicking on the 'View more' link.

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.