Webix Jet - DHTMLX Scheduler Extensions & 2 Schedulers with different data

Hi,
I have two problems with using the DHTMLX Scheduler in a Webix Jet app.
I want to use the “Extensions” of the Scheduler like
webix.require(“scheduler/ext/dhtmlxscheduler_key_nav.js”);
but when I insert this line here (code taken from the webix admin app example):

{
					view:"dhx-scheduler",
					date:new Date(),

					mode:"month",
					tabs:["day","week", "month"],
					init:function(){
						webix.require("scheduler/ext/dhtmlxscheduler_key_nav.js");

						//scheduler.config.month_day_min_height = 50;
						scheduler.config.xml_date="%Y-%m-%d %H:%i";
						scheduler.config.first_hour = 7;
						scheduler.config.last_hour = 24;
						scheduler.config.multi_day = true;
						scheduler.templates.event_class=function(s,e,ev){ return ev.calendar?"other":""; };
						var d = scheduler.date.date_to_str;
						var week1 = d("%d");
						var week2 = d("%d %M %y");
						scheduler.filter_day = scheduler.filter_week = scheduler.filter_month = function(id, event){
							var calendar = event.calendar;
							if(!calendar)
								return $$("calendarList").getItem("my").active;
							else
								return $$("calendarList").getItem(calendar).active;
						};
						scheduler.templates.week_scale_date = d("%D, %W/%j");
						scheduler.templates.week_date = function(d1,d2){
							return week1(d1)+" – "+ week2(scheduler.date.add(d2,-1,"day"));
						}
					},
					ready:function(){
						if(addEvents){
							addEvents();
							addEvents = null;
						}

					}
				}

I get the error: “Uncaught ReferenceError: Scheduler is not defined”.
Where can I load an extension like this? Is it anyway possible?

And the second problem is:
I want to add in the same Webix Jet App 2 Schedulers on different views with different events loaded via the dhtmlx scheduler connector. The first loads, I switch to the second and the second loads, but when I switch back to the first I see the events from the seconds and it stays like this. Do I have to destruct somewhere the scheduler? And if yes how?

Thank you!
Martin

Are you using files from GPL or Enterprise version of the Scheduler?

I get the error: “Uncaught ReferenceError: Scheduler is not defined”. Where can I load an extension like this? Is it anyway possible?

Such error can occur if you are mixing files from different editions

As for (2), it is a limitation of dhtmlxScheduler. GPL version allows to create only one scheduler per app, so you can’t create two different instances in two different views. ( Scheduler Pro allows to have few different scheduler’s at once )

Thank you, Maksim!
You are right, I mixed up Extensions version with the scheduler’s version. That way I don’t get any error messages concerning this…

I am on evaluation v 4.3.14 Pro and when I am trying to use it now, I get the error message: scheduler.templates.xml_date is not a function

Thank you very much for your help!