Ok Guys The source code is online..right click the application Since I'm a newbie...I would appreciate any suggestions and corrections to my code.
http://www.fabiobarreiro.com/flex/pagegrid.html --- In [email protected], Kevin Morland <[EMAIL PROTECTED]> wrote: > > Would be interested in sharing the source code for the pagination... > I am also relatively new to flex and would enjoying seeing how you > got it accomplished. > > Thanks, > Kevin > On Oct 25, 2006, at 12:25 PM, Fabio Barreiro wrote: > > > > > Hi guys > > > > > > > > I'm a super-newbie to flex, and I'm sure there other ways to do > > this, but I managed to create a component that fits perfectly to my > > needs > > > > I'd like you to take a look and comment.. The component has a > > property "navigator" that sets what kind of navigation will be > > used..using buttons or a slider. > > > > I've used ASP as the back end. Flex requests a specific page and > > the ASP page requests it from the database > > > > http://www.fabiobarreiro.com/flex/pagegrid.html > > > > > > > > If the group wants, I can explain how I did it source code , etc > > > > > > > > Fabio > > > > > > > > > > > > De: [email protected] [mailto:[EMAIL PROTECTED] > > Em nome de Tracy Spratt > > Enviada em: terça-feira, 24 de outubro de 2006 16:56 > > Para: [email protected] > > Assunto: RE: [flexcoders] Pagination? Where? > > > > > > > > "better performance and user-interface issues". This is still too > > broad a goal to address very successfully. There are many causes > > and solutions. > > > > > > > > If we just look at large data sets "coming down the wire", then > > server-side pagination is one solution. If FDS is an option for you > > then that is the way to go, since it was designed to solve this > > issue among others. > > > > > > > > If you want to do it yourself, look into the series of articles by > > Matt Chotin, on his blog. They were written for flex 1.5, but > > still apply to 2.0. Google "Chotin Flex large data set". > > > > > > > > For another approach to the same problem, you might want to look > > into compression of the data stream. Do some searching of the > > archives and google for this technique. > > > > > > > > Tracy > > > > > > > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews > > Sent: Tuesday, October 24, 2006 1:09 PM > > To: [email protected] > > Subject: Re: [flexcoders] Pagination? Where? > > > > > > > > Surely this is up to you and your back-end code rather than flex? > > Get the Flex application to request 'page 1' and let your backend > > code just return a 'page' of data. How you do that is up to you. > > > > > > > > Paul > > > > ----- Original Message ----- > > > > From: Fabio Barreiro > > > > To: [email protected] > > > > Sent: Tuesday, October 24, 2006 5:49 PM > > > > Subject: RES: [flexcoders] Pagination? Where? > > > > > > > > 500 rows of data was just an example. Some queries on my database > > may return as high as 10000 rows. > > > > I'm using ASP pages as the back-end. > > > > So pagination would be the solution to better performance and user- > > interface issues. > > > > > > > > De: [email protected] [mailto:[EMAIL PROTECTED] > > Em nome de Tracy Spratt > > Enviada em: terça-feira, 24 de outubro de 2006 14:40 > > Para: [email protected] > > Assunto: RE: [flexcoders] Pagination? Where? > > > > > > > > Where are your 500 rows of data? Already on the client or still on > > the server? > > > > > > > > In other words, is the problem you are trying to solve with > > pagination one of rendering performance, or one of data access > > performance? Or neither? > > > > > > > > Tracy > > > > > > > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of Fabio Barreiro > > Sent: Tuesday, October 24, 2006 12:28 PM > > To: [email protected] > > Subject: RES: [flexcoders] Pagination? Where? > > > > > > > > Tracy > > > > > > > > For example.. > > > > Let's say I have a 500 rows data > > > > I want the DataGrid to show 100 rows and then the user be able to > > navigate through 5 pages showing 100 records each > > > > << < > >> > > > > > > > > > > > > De: [email protected] [mailto:[EMAIL PROTECTED] > > Em nome de Tracy Spratt > > Enviada em: terça-feira, 24 de outubro de 2006 14:07 > > Para: [email protected] > > Assunto: RE: [flexcoders] Pagination? Where? > > > > > > > > Can you be more specific about what you want to do? "pagination" > > can mean many things. > > > > > > > > Tracy > > > > > > > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of Fabio Barreiro > > Sent: Tuesday, October 24, 2006 10:20 AM > > To: [email protected] > > Subject: [flexcoders] Pagination? Where? > > > > > > > > Is it possible to do pagination on a large Datagrid? > > > > Is there an example available? > > > > > > > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

