Documentation

setValue

sets a new value for the component

void setValue(string value);

Parameters

valuestringa new value for the button

See also

Example

webix.ui({
    container:"box",
    view:"form", 
    elements:[
        { view:"button", id:"b1", value:"Edit", type:"form" },
        { view:"button", id:"b2", value:"Back", type:"form" }
    ]
});
...
$$('b1').setValue("Save");
$$('b2').setValue("Cancel");

Details

Value of the control may be:

Back to top