display.grid.getCopyOfData()
This method returns a copy of the data in the grid as a JavaScript array.
Return Value
An array of grid data. Each entry in the array is another array of values that represents a record.
Example
var gridData = display.grid.getCopyOfData();