Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

getClientOnlyDataSource

$
0
0
I am using getClientOnlyDataSource to get a clientOnly version of one of my datasources and that works fine, but I don't understand how the response from the fetch operation is used.

Can you explain this in a little more detail?

The JavaDoc says :
"Produces a clientOnly "copy" of a particular subset of data from a normal DataSource, via calling fetchData() to fetch matching rows, and constructing a clientOnly DataSource that inheritsFrom the original DataSource."

Does it mean that I can return the initial data for my listgrid in the fetch operation associated with getClientOnlyDataSource, and if so, how do I get to the data? The ClientOnlyDataSourceCallback only gives me the new datasource, but not the fetch response. Or am I missing something completely?

Viewing all articles
Browse latest Browse all 4756

Trending Articles