override

used to override default classes with new ones

array override;

Example

class CustomDesktopView extends scheduler.views.JetView {
  // custom logic
}
 
webix.ui({
    view: "scheduler",
    url: "https://docs.webix.com/calendar-backend/",
    override: new Map([
        [scheduler.views.main, CustomDesktopView]
    ]),
});

Related samples

Details

The override property is designed for customizing inner views and services.

It allows setting the Map with a 2D array each, element of which is an array that stores:

  • the default class you need to customize
  • a new class (the class to override with).
See also
Back to top