I am using Flex 3, with BlazeDS to interact with Java layer and fatch the data. I am getting more then 10000 rows of data at a time to display in my datagrid. I am displaying it 200 at a time and using it paging for the application. (Whenever I call the next button link, a server call happen and fetch the next 200 data)
I was wondering is there any other technique we can use flex side to buffer the 10000 data and display everything without calling server everytime.
Thanks for your any help.
You can put an intermediate layer in your Flex application which can hold all data in it, and then perform the paging on it.
Create a method to retrieve wanted data from it, for example:
retrieveData(offset:int, limit:int):ArrayCollection
It should retrieve the data starting from offset and end at offset + limit.
retrieveData(500, 20);
should return the 20 items starting
from position 500.Hope that helps.