How to change the title of tabview?

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?

Hello,

Tabview and Tabbar does not have a ready method to change tab titles. But it is possibly modify tabbar options:

http://webix.com/snippet/6ecbfef2

Perfect!!!, Thank you…

for Webix 6.2 the code should be updated to:
tabbar = $$(“tabs”);
tabbar.config.options[1].value = “XXXXX”;
tabbar.render();