Im sorry look similar, I’v tried sidemenu on webixjet not working got unknown view:sidemenu, I dont know exacly couldbe need more sidemenujs in lib folder
Yep, the whole layout is initialized via a single webix.ui() call. At the same time, widgets that lie above layout (windows and popups) can be initialized in two ways:
And also please check Webix version in the app, it should be 3.1 or higher for Sidemenu to be accessible. You can update Webix files in the libs/webix/codebase folder.
The $oninit handler actually contains all the actions you’d like to perform with this application part, e.g. load data into desired widgets, show or hide them, initialize dialog windows, etc…
The $scope.ui is an equivalent to webix.ui. But the difference is that windows initialized within the $scope will be destroyed automatically when the related view is destroyed and are no longer kept in memory.
Another useful method of $scope is on, which allows to attach an event handler that will also be destroyed with view destruction: