getHeaderContent

returns a set of helpers for header content manipulation

any getHeaderContent(id id);
ididthe content id
anyan object with helpers

Example

webix.ui({
    view:"datatable", id:"mytable",
    columns:[
        { header:{ content:"masterCheckbox", contentId:"cm1" } }
    ] 
});
$$("mytable").getHeaderContent("cm1").check();

Details

Currently it works only with masterCheckbox.

masterCheckbox

Available API:

var control = $$("mytable").getHeaderContent("cm1");
 
//check master checkbox
control.check();
 
//uncheck master checkbox
control.uncheck();
 
//get master checkbox state
var state = control.isChecked();
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript website framework and page of datagrid javascript product.