开发者

How does Flex 3 datagrid paging work?

开发者 https://www.devze.com 2022-12-13 17:47 出处:网络
How does paging work, must Flex load in all the database records to determine how many pages to generate开发者_如何学JAVA?

How does paging work, must Flex load in all the database records to determine how many pages to generate开发者_如何学JAVA?

Let's say I have a table with 10,000+ records and want to split it into pages of 10 records per page into a datagrid component. Does Flex load in the complete 10,000+ records, or just some of them?

I would like to use PHP and AMF on the backend.


Here is a good article on the Adobe blog that talks about how to do that. They call it "implicit paging".

http://blogs.adobe.com/mchotin/archives/2004/03/large_data_sets.html

Basically, it involves creating a data provider that is capable of fetching data on demand when a user attempts to view data that hasn't yet been loaded.

Hope this helps!


We also tried to make this a bit easier in Flash Builder 4 (and support any kind of data/server technology).

0

精彩评论

暂无评论...
验证码 换一张
取 消