Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7609259
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:07:51+00:00 2026-05-31T01:07:51+00:00

Is it possible to define a property to limit the number of elements which

  • 0

Is it possible to define a property to limit the number of elements which will appear in a mx:List ? I’ve read about setting the property rowCount, but I don’t see any effect.
Can a filter be applied to accomplish this? My intention was to avoid removing the items from the list/array collection, but simply “hide” them. Can this be done?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:07:53+00:00Added an answer on May 31, 2026 at 1:07 am

    A different option is to use a new arraycollection and get your limited items from your big arraycollection :

    //get first 10 elements
    myArrayCollection = new ArrayCollection( myBigArrayCollection.toArray().slice(0,9) );
    

    if you want to work with pagers, you could hold a counter where you keep track of what page the user is on, and get the next elements from you big array collection. example:

    //this is just a (very) simple example
    //page = integer (counter) for knowing which page the user is on
    page = 0;
    page_low = page*10;
    page_high = page_low + 9;
    myArrayCollection = new ArrayCollection( myBigArrayCollection.toArray().slice(page_low,page_high) );
    

    (still using a filter is a more elegant solution)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to define a regex which will match every character except a
Is it possible to define an Objective-C block property but still have full-code completion
Is it possible to define an interface (e.g. MyClass Implements MyInterface) whose method/property definitions
I like the approach of having property bag objects (DTOs) which define the interface
In Visual Basic 6, it is possible to define a method/property as default. When
Is it possible to attach a style or define a property in the WPF
i wonder if it's possible to define a variable/property of more than one type.
Possible Duplicate: How do I define a unique property for a Model in Google
I am wondering if the below is possible in Spring Read a property file
Is it possible to define Inheritance Mapping and a Discriminator Property using a BD

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.