Ajax API limit 1000 results and missing methods

9 views
Skip to first unread message

Kiwi

unread,
Apr 1, 2015, 4:25:06 AM4/1/15
to slic...@googlegroups.com
Hi,

I'm looking at the ajax example and reading through the remoteModel.js and I have two questions:

1. why the data has length limited to 1000 results? Is this for a performance purpose? I tried to remove the limit and I don't see any issue with it.
    Math.min(parseInt(results.length),1000); // limitation of the API

2. since this is passed as data model to the grid, shouldn't be a getLength() and getItems() methods?

thanks
Reply all
Reply to author
Forward
0 new messages