How to do data paging with LiveCycle Data Services:
sample.mxml:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
backgroundGradientColors="[0x000000,0x323232]"
applicationComplete="ds.fill(items)" viewSourceURL="srcview/index.html">
<mx:ChannelSet id="channelSet">
<mx:RTMPChannel id="rtmpChannel" url="rtmp://tourdeflex.adobe.com:2037"/>
</mx:ChannelSet>
<mx:DataService id="ds" destination="paged-census" channelSet="{channelSet}" autoSyncEnabled="false"/>
<mx:ArrayCollection id="items"/>
<CensusEntry/>
<mx:Text width="100%" color="#FFFFFF">
<mx:text>The total size of the data set is 500 rows. The page size is set to 100 rows. If you scroll down, you may notice a very slight delay when
a new page is being fetched.</mx:text>
</mx:Text>
<mx:DataGrid dataProvider="{items}" width="100%" height="100%"/>
</mx:Application>