Thanks Scott for the prompt reply. It is working now.
However, the rowCount attribute will restrict the
numbers of rows only if height attribute is not
specified for the DataGrid (for example
height="100%").

--- Scott Melby <[EMAIL PROTECTED]> wrote:

> 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>
> >
> >  
> 



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

Reply via email to