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.html?content=dms_paging_4.html On Thu, May 6, 2010 at 6:59 PM, azona26 <[email protected]> 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::requestItemAt()[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_modeler101\frameworks\projects\data\src\mx\data\DataList.as:355] > at > mx.collections::ListCollectionView/getItemAt()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\collections\ListCollectionView.as:511] > at > spark.components::DataGroup/createItemRenderers()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\DataGroup.as:880] > at > spark.components::DataGroup/commitProperties()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\components\DataGroup.as:899] > at > mx.core::UIComponent/validateProperties()[E:\dev\4.0.0\frameworks\projects\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\frameworks\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 > > >

