sets controls that will be used in the view template
This mixin will be removed in Webix 7.0. Instead, use HTML-templates for simple controls and DataLayout for more complex views.
webix.protoUI({
name:"activeList"
},webix.ui.list,webix.ActiveContent);
webix.ui({
view: "activeList",
id:"mylist",
data: dataset,
activeContent:{
deleteButton:{
id:"deleteButtonId",
view:"button",
label:"Delete",
width:120,
earlyInit:true
}
},
template: "#title#<div style='float:right'>{common.deleteButton()}</div>",
type: {
height:45
}
});