Skip to main content
Version: v11.6.0

Calendar Usage - Create an Event


The procedure to create an event, when a user clicks on a particular date is described in the presentation below.

We will be using the following JavaScript for the on Before Dataset Ready event of the CRUD variable.

Page.event_varonBeforeDatasetReady = function(variable, data) {
data = data || [];
data.forEach(function(event) {
event.startDate = new Date(event.startDate);
event.endDate = new Date(event.endDate);
});
};

Calendar Cases