http://docs.webix.com/samples/33_angular/04_events.html
I figured out view doesn’t update unless if you don’t click on it.
Is it because of $scope.$digest();
Also How to convert this to HTML Angular?
{
width: 200,
rows:[
{
view: "tree",
id: "app:menu",
type: "menuTree2",
css: "menu",
activeTitle: true,
select: true,
tooltip: {
template: function(obj){
return obj.$count?"":obj.details;
}
},
on:{
onBeforeSelect:function(id){
if(this.getItem(id).$count){
//debugger;
return false;
}
},
onAfterSelect:function(id){
this.$scope.show("./"+id);
var item = this.getItem(id);
webix.$$("title").parse({title: item.value, details: item.details});
}
},
data: data
}
]
}