How to add tabview header text dynamically

hello webix,

I have a button, on that button click my tabview will show and add a cell on it.
in my cell body, I have a text box. i want to set that cell header on onTimedKeyPress event of that text box

https://snippet.webix.com/3kl6gf87

Check Code Snippet

onTimedKeyPress: function(){
  var text_box_name = $$(str_text_id).getValue()

  const tabs = $$("tabview").getTabbar();
  const option = tabs.config.options.find(a => a.id === str_text_id);
  option.value = text_box_name;
  tabs.refresh();
},
1 Like