New to Kendo UI for jQueryStart a free 30-day trial

ToArray

methods

Returns the internal data collection

Returns:Array

Returns plain JavaScript array which represents the internal data collection

<script>
    var query = new kendo.data.Query([
        { name: "Jane Doe", age: 30 },
        { name: "John Doe", age: 33 },
        { name: "Bob Smith", age: 25 }
    ]);
    
    var dataArray = query.toArray();
    // the result can be seen in the browser console.
    console.log(dataArray);
</script>
Not finding the help you need?
Contact Support