length

An unsigned, 32-bit integer that specifies the number of items in an ObservableArray.

Example - iterate over an ObservableArray

<script>
var array = new kendo.data.ObservableArray([1, 2, 3]);
for (var i = 0; i < array.length; i++) {
/* The result can be observed in the DevTools(F12) console of the browser. */
    console.log(array[i]); // outputs the current item
}
</script>
In this article