get
Gets the value of the specified field.
Returns
Object
—The value of the specified field.
Parameters
name String
The name of the field whose value will be returned.
Example - get the value of a field
<script>
var observable = new kendo.data.ObservableObject({ name: "John Doe" });
var name = observable.get("name");
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(name); //outputs "John Doe"
</script>
Example - get the value of a nested field
<script>
var observable = new kendo.data.ObservableObject({ person: { name: "John Doe" } });
var name = observable.get("person.name"); // use dot notation to denote nested fields
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(name); //outputs "John Doe"
</script>