join

Joins all items of an ObservableArray into a string. An equivalent of Array.prototype.join.

Parameters

separator String

Specifies the string to separate each item of the array. If omitted, the array items are separated with a comma (,).

Example

<script>
var array = new kendo.data.ObservableArray([1, 2, 3]);
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(array.join("-")); // outputs "1-2-3"
</script>
In this article