Sets the value of the specified option.

Example - retrieving an option value

    var options = new kendo.drawing.OptionsStore({
        foo: {
            bar: true

    // The setting will be set to false by any of these statements:
    options.set("", false);"bar", false);

    // The following statement will succeed,
    // but will not trigger optionsChange on the observer (if any). = false;


field StringThe name of the option to set.

Must be a fully qualified name (e.g. "") for nested options.

value Object

The new option value.

If the new value is exactly the same as the new value the operation will not trigger options change on the observer (if any).

In this article