set
Sets the value of the specified option.
Example - retrieving an option value
<script>
var options = new kendo.drawing.OptionsStore({
foo: {
bar: true
}
});
// The foo.bar setting will be set to false by any of these statements:
options.set("foo.bar", false);
options.foo.set("bar", false);
// The following statement will succeed,
// but will not trigger optionsChange on the observer (if any).
options.foo.bar = false;
</script>
Parameters
field String
The name of the option to set.
Must be a fully qualified name (e.g. "foo.bar") 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).