have you tried rowCount="{yourArrayCollection.length}"?

hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com



Jehanzeb Musani wrote:

Hello All,

I am binding an arraycollection as DataGrid's data
source. The number of items in the arraycolleciton
varies at runtime. If the arraycollection contains
only 2 items, even then the datagrid displays default
5/6 rows.

Is there a way to configure datagrid to display the
number of rows corresponsing to the number of items in
the arraycollection?

Regards,
Jehanzeb

__________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping <http://tools.search.yahoo.com/newsearch/category.php?category=shopping>

Reply via email to