getHeaderContent
returns a set of helpers for header content manipulation
function getHeaderContent( // the content id id: id): any
Returns
Section titled “Returns”any
an object with helpers
Example
Section titled “Example”const mygrid = webix.grid({ columns:[ { header:{ content:"masterCheckbox", contentId:"cm1" } } ]});mygrid.getHeaderContent("cm1").check();
Details
Section titled “Details”Currently it works only with masterCheckbox.
masterCheckbox
Section titled “masterCheckbox”Available API:
const control = mygrid.getHeaderContent("cm1");
//check master checkboxcontrol.check();
//uncheck master checkboxcontrol.uncheck();
//get master checkbox stateconst state = control.isChecked();