Wijmo UI for the Web
showEditEventDialog Method
wijmo.evcal Namespace > wijevcal type : showEditEventDialog Method
Event object. Event object fields: id - String, unique event id, this field generated automatically; calendar - String, calendar id to which the event belongs; subject - String, event title; location - String, event location; start - Date, start date/time; end - Date, end date/time; description - String, event description; color - String, event color; allday - Boolean, indicates all day event tag - String, this field can be used to store custom information.
Optional. DOM element which will be used to calculate dialog position.
Call this method in order to display built-in "edit event" dialog box.
Syntax
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var calendar; // Type:  object
    var offsetElement; // Type:  object
    
    returnsValue = $(".selector").wijevcal("showEditEventDialog", calendar, offsetElement);
});
function showEditEventDialog( 
   calendar : object,
   offsetElement : object
) : any;

Parameters

calendar
Event object. Event object fields: id - String, unique event id, this field generated automatically; calendar - String, calendar id to which the event belongs; subject - String, event title; location - String, event location; start - Date, start date/time; end - Date, end date/time; description - String, event description; color - String, event color; allday - Boolean, indicates all day event tag - String, this field can be used to store custom information.
offsetElement
Optional. DOM element which will be used to calculate dialog position.
Example
Display dialog for a new event:
$("#wijevcal").wijevcal("showEditEventDialog", null);
See Also

Reference

wijevcal type
wijevcal jQuery Widget