Wijmo UI for the Web
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
Javascript (Usage) 
var instance = new jQuery.wijmo.wijevcal();
var value; // Type: any

// Parameters
var calendar; // Type:  object
var offsetElement; // Type:  object

value = instance.showEditEventDialog(calendar, offsetElement);
Javascript (Specification) 
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);
Browser Compatibility
7
5
5

See Also

Reference

wijevcal type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.