isViewExists

checks whether a view with the specified name exists

boolean isViewExists(string name);
namestringthe view name
booleantrue, if the view exists. Otherwise, false

Example

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

Back to top