setValue

sets a new value for the component

void setValue(string value,any config);

Parameters

valuestringa new value for the control
configanyoperation config

Example

webix.ui({
    view:"tabview", 
    id: "tab",
    tabbar:{ optionWidth:200 },
    animate:false,
    cells:cells
});
 
$$("tabs").setValue("tab1");

See also
Back to top