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"

Details

To change a value for the component use the setValue method.

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.