get

Fires when the get method is invoked. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the get API reference.

Example

<script>
var Product = kendo.data.Model.define({
    fields: {
        name: { type: "string" },
        price: { type: "number" }
    }
});

var product = new Product({ name: "Keyboard", price: 79 });

// Bind to the get event
product.bind("get", function(e) {
    /* The result can be observed in the DevTools(F12) console of the browser. */
    console.log("Get event fired for field: " + e.field);
    /* The result can be observed in the DevTools(F12) console of the browser. */
    console.log("Value being retrieved: " + e.value);
});

var name = product.get("name"); // triggers get event
var price = product.get("price"); // triggers get event
</script>
In this article
get
Not finding the help you need?
Contact Support