Documentation

activeContent

sets controls that will be use in view template

object activeContent;

Example

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
    }
});

See also

Back to top