Gets the parent of the array if such parent exists.

Returns the parent of the array; undefined if the array is not nested and doesn't have a parent.

Example - get the parent

var array = new[1, 2]);
console.log(array.parent()); // outputs "undefined"
var observable = kendo.observable({ numbers: [1, 2] });
var numbers = observable.get("numbers");
console.log(numbers.parent() === observable); // outputs "true"
In this article
Not finding the help you need?