webix.ui({
rows:[
{ view:"datatable",
columns:[
{ id:"checkbox", header:{ content:"masterCheckbox" }, checkValue:"on", uncheckValue:"off", template:"{common.checkbox()}", width:40 },
{ id:"a", header:["a"], width: 100},
{ id:"b", header:["b"], width:200 }
]
, data:grid_data }
]
});
webix.ui({
view:"window",
id:mywindow,
height:250,
width:300,
left:50, top:50,
move:true,
head:"This window can be moved",
body:webix.copy(datatable)
}).hide();
how to call mywindow when i check on in checkbox?