The Telerik Platform product is retired.Learn more

Paging

Paging

Telerik Platform can return query results in pages to save you bandwidth and additional operations on the client.

Call the fetchLimit and fetchOffset properties of EVFetchRequest to use paging.

EVFetchRequest *request = [EVFetchRequest fetchRequestWithKindOfClass:[Activities class]];
[request setFetchLimit:10];
[request setFetchOffset:50];
[dataStore executeFetchRequest:request block:^(NSArray *result, NSError *error) {
    //the result array here will contain 10 items and will skip the first 50 items from the server.
}];
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.