In the repeater tag, set count="4". This will cause only the first 4 items to be displayed.
This is a goods technique for large datasets, for you would then allow for page-up and page down navigation. It is much more performant than rendering say 100 items. Tracy -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR Sent: Tuesday, November 08, 2005 3:26 PM To: [email protected] Subject: RE: [flexcoders] Re: Repeater endIndex ? I did not understand. If you don't mind Can you post a sample code. What I want to do is I want repeater to stop repeat at index 4. Thanks! Hari -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of m_chotin Sent: Tuesday, November 08, 2005 1:39 AM To: [email protected] Subject: [flexcoders] Re: Repeater endIndex ? The count property is what you're looking for. --- In [email protected], "Doodi, Hari - BLS CTR" <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have a situation where in I get data from database as an > array of VO of length more than 5 but I have to display only first 5 > records. Is there any way to ask repeater to stop at index 4? Is there > any repeater property like endIndex as opposite to startIndex. I need > those extra records for some other comparisons and calculations. > > > > Thanks! > Hari > -- 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 -- 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 ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/ <*> 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/

