refresh

repaints the component

void refresh();

Example

webix.ui({
    container:"box",
    view:"form", 
    elements:[
        { view:"button", id:"b1", value:"Edit", css:"webix_primary" },
        { view:"button", id:"b2", value:"Back", css:"webix_primary" }
    ]
});
...
$$("b1").define("value","Save");
$$("b1").refresh(); // value:"Edit" -> value:"Save"

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix widget library and page of toolbar js product.