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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix widget library and page of toolbar js product.