Uncaught TypeError: Cannot read property 'particulars' of undefined when close all windows

onMouseMove:{
mon_data_button:function(ev, id, html){
for(var i in webix.ui.views){
if(webix.ui.views[i].name === "window"){
//webix.message(webix.ui.views[i].name);
webix.ui.views[i].close();
}
}
var SBpopup = webix.ui({
view:"window",
id:'SB'+this.getItem(id)["particulars"]+'button',
move:true,
head:this.getItem(id)["particulars"],
close:true,
clipboard:"block",
scrollX:false,
width:450,
position:function(state){
state.left += 100;
},
body:{
view:"datatable",
id:'SB'+this.getItem(id)["particulars"]+'_popup',
footer:true,
hover:"myhover",
columns:webix.copy(PopupTable),
data: eval('SB'+this.getItem(id)["particulars"]),
}
}).show();
}
},
},

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!