returns set of helpers for header content manipulation
id | id | content id |
hash | hash of 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