Webix Jet and scheduler , dynamic data in class

Hello ,

In scheduler I use :

class MyBackend extends scheduler.services.Backend {

addEvent(event) {
return webix.ajax().post("/scheduler/calendar_backend.php?method=addEvents&sheduler_id="+$$(“mySelect”).getValue(),event)
.then(res => res.json());

The problem is that the class is overrided on ‘init’ and my object $$(“mySelect”).getValue() has always the same value even if I change in the select box.

How to have dynamic $$(“mySelect”).getValue() each time addEvent is executed ?


Problem solved , it works natively.

It was a problem in my application.

1 Like