Just in case: Found a good article on similar subject: http://weblogs.macromedia.com/mchotin/archives/2004/03/large_data_sets.cfm
it's about Flex 1.5, but the same idea can be applied to the Flex 2.0. --- In [email protected], "roman_dolgov" <[EMAIL PROTECTED]> wrote: > > I am trying to implement a collection that supports remote lazy > loading. I've extended IList interface and added the following code > for getItemAt(): > > public function getItemAt(index:int, prefetch:int=0.0):Object > { > if (needsToBeFetched(index)) > { > fetchDataFromRemoteLocation(); // using web services > > throw new ItemPendingError("Wait..."); > > } else > { > return prefetchedData(); > } > } > > It's kinda pseudocode, but the main idea is to throw an > ItemPendingError and hope that DataGrid would retry to get the data > again and hopefully by next time the data would be fetched. > Is it too much to hope for? > > The code I tried didn't work - after throwing ItemPendingError the > table data disappears. > > Should it work or it's not supported at all? > What is the best way to do it? > (I cannot use FDS) > > Thanks > RD >

