returns a set of helpers for header content manipulation
id | id | the content id |
any | an object with helpers |
webix.ui({
view:"datatable", id:"mytable",
columns:[
{ header:{ content:"masterCheckbox", contentId:"cm1" } }
]
});
$$("mytable").getHeaderContent("cm1").check();
Currently it works only with 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