an object that specifies items presentation
list = webix.ui({
view:"tree",
...
type:{
template:"{common.icon()} {common.folder()}<span>#value#</span>",
}
})
webix.ui({
view:"tree",
type:"lineTree"
});
The following methods are used in the tree template:
webix.ui({
view:"tree",
template:"{common.icon()} {common.checkbox()} {common.folder()}"+
"<span>#value#</span>",
});
Related sample: 2-state Checkboxes
More information on this topic can be found in the dedicated documentation article.