isViewExists

checks whether a view with the specified name exists

boolean isViewExists(string name);

Parameters

namestringthe view name

Returns

booleantrue, if the view exists. Otherwise, false

Example

scheduler.init('scheduler_here');
scheduler.load("data/events.xml");
 
scheduler.isViewExists("month"); //->true

Back to top