Hi,
im using Webix Jet and its documented this.$scope.show(“subpagex”); way of inapp navigation:
But i have troubles to use this method inside the ajax.post function:
$oninit: function(view, $scope){
$scope.on(app, "onAdd" ,function(){
webix.ajax().post("URL", myJsonCheckedIds, function(text, data){
this.$scope.show("subpagex"); //error: Uncaught TypeError: Cannot read property 'show' of undefined
});
}
}
How to use this.$scope.show(“subpagex”) inside the webix.ajax().post() ?