getHeaderContent

returns set of helpers for header content manipulation

hash getHeaderContent(id id);

Parameters

ididcontent id

Returns

hashhash of 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.