Thanks. I ended up using AsyncListView to handle the pending data. However, I have run into something odd. If I loop thru the array collection that the AsyncListView is wrapping, it traces out the length to be the full length (number of records) on the server, rather than what it has actually fetched (pageSize). How can I loop thru only the records it has retrieved?
--- In flexcoders@yahoogroups.com, Evan Klein <e...@...> wrote: > > You need to handle the itemPendingError in a try/catch block. > It's basically telling you the item is not yet at the client, so hold on. > > http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.h\ tml?content=dms_paging_4.html > > > On Thu, May 6, 2010 at 6:59 PM, azona26 azsl1326-em...@... wrote: > > > > > > > I am loading data from a mySQL database via php into a > > skinnabledatacontainer. I created a data service and then the set the > > dataprovider to the function created in the data/service window. I am using > > data paging, setting the page size to 15 via the DataManager pageSize > > property.I get the following error in Flex ( FB4 )when attempting to load > > the data: > > > > Error: Item requested is not available. A request for the item is now pending. > > at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::requestIte\ mAt()[C:\depot\DataServices\branches\lcds_modeler101\frameworks\projects\ \data\src\mx\data\DataList.as:1182] > > at mx.data::DataList/getItemAt()[C:\depot\DataServices\branches\lcds_modele\ r101\frameworks\projects\data\src\mx\data\DataList.as:355] > > at mx.collections::ListCollectionView/getItemAt()[E:\dev\4.0.0\frameworks\p\ rojects\framework\src\mx\collections\ListCollectionView.as:511] > > at spark.components::DataGroup/createItemRenderers()[E:\dev\4.0.0\framework\ s\projects\spark\src\spark\components\DataGroup.as:880] > > at spark.components::DataGroup/commitProperties()[E:\dev\4.0.0\frameworks\p\ rojects\spark\src\spark\components\DataGroup.as:899] > > at mx.core::UIComponent/validateProperties()[E:\dev\4.0.0\frameworks\projec\ ts\framework\src\mx\core\UIComponent.as:7772] > > at mx.managers::LayoutManager/validateProperties()[E:\dev\4.0.0\frameworks\\ projects\framework\src\mx\managers\LayoutManager.as:572] > > at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\framewor\ ks\projects\framework\src\mx\managers\LayoutManager.as:730] > > at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\\ frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072] > > > > I was able to successfully set up data paging tied to a data grid. However, > > I have yet to get it to work with the skinnable data container and its item > > renderer. > > > > Thanks for any and all replies > > > > > > >