I want to change the title of tabview dynamically. Writing coding is as below.
webix.ui({ rows:[
{ view:“tabview”, id:“tabs”, cells:[
{ header:“Cell A”, body:{ id:“Cell_A”, view:“layout”, rows : [{template:" A "}]} },
{ header:“Cell B”, body:{ id:“Cell_B”, view:“list”, data:data_list } }
]},
{ view:“button”, value:“getActiveView”, click:function() {
var tabs = $$(“tabs”);
var item = $$(“Cell_B”).getParentView();
tabs.blockEvent();
item.disable();
item.define("header", "XXXXX");
item.reconstruct();
item.enable();
tabs.unblockEvent();
}}
]});
But, this code is something wrong. Could you please give me the correct coding?