Welcome, Guest. Please login or register.
Did you miss your activation email?
31 Jul 2010, 11:31:28 UTC
Forum home
+  flexdeveloper.eu Forum
|-+  Flex and ActionScript 3.0
| |-+  Flex 3 Framework (Moderators: JMWhittaker, Jan K, thewarpedcoder, James)
| | |-+  how to separate a flex data grid to display in different pages
« previous next »
Pages: [1] Print
Author Topic: how to separate a flex data grid to display in different pages (Read 409 times)
Najla
Newbie FD
*
Posts: 2


« on: 09 Mar 2010, 04:13:46 UTC »

I have created a data grid using flex and xml. There, the grid have 20 rows and all 20 rows can be shown at once. But now I want to show 5 rows at a time. So I should have 4 pages of 5 rows, but with the same grid.
If anybody know how to do that pls can you explain it?

Thanks in advance!
Logged
flexy
flexdeveloper.eu
Guru/Addict FD
*****
Posts: 3,155


Recovering Coffee Addict & Adobe Expert


WWW
« Reply #1 on: 09 Mar 2010, 09:49:42 UTC »

You'd need to break your data down into 5 row chunks, then bind this to the DataGrid. When the user want to paginate, they can click a button that will load the next 5 rows of data, and bind this to the grid.

Logged

Pages: [1] Print
« previous next »
Share this on: Twitter Twitter Del.icio.us del.icio.us Digg Digg
Jump to:

©2006-2010 Flexdeveloper.eu/Jodie O'Rourke. All rights reserved.
Adobe®, Adobe® Flash™, Adobe® AIR™ and Adobe® Flex™ are registered trademarks of Adobe Systems Incorporated in the United States and other countries. All rights reserved.

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC