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]);
console.log(array.join("-")); // outputs "1-2-3"
</script>
In this article
Not finding the help you need? Improve this article