Read
methodsReads data items from a remote/custom transport (if the transport option is set) or from a JavaScript array (if the data option is set).
The
readmethod always makes a request to the remote service unless the Data Source is offline.
Returns:Promise
—A promise that will be resolved when the data has been loaded or rejected if an HTTP error occurs.