checkbox and popup

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?

Use the datatable onCheck event:

on:{
    "onCheck":function(row, col, val){
       $$("mywindow").show();
    }
  }

where

  • row - id of the row;
  • column - column id;
  • value - new checkbox value.

http://webix.com/snippet/9b7a5484

thanks!