This is a migrated thread and some comments may be shown as answers.

grid.dataSource.data() doesn't return all remote data

1 Answer 63 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Josh
Top achievements
Rank 1
Josh asked on 16 May 2014, 05:09 PM
Hi,

The documentation for the data() method of the dataSource states that it will return the service response. However, if I make this call from the dataSource on a grid, it only returns the data the grid is bound to - not all of the data that was returned from the remote service to the dataSource. How can I get the complete data returned from a remote service to a dataSource that is bound to a grid?

Thanks,
Josh

1 Answer, 1 is accepted

Sort by
0
Josh
Top achievements
Rank 1
answered on 16 May 2014, 07:46 PM
Hi,

Nevermind. I worked around this by defining a function for the schema.data property of the dataSource used by the grid.

Thanks,
Josh
Tags
Data Source
Asked by
Josh
Top achievements
Rank 1
Answers by
Josh
Top achievements
Rank 1
Share this question
or