Re: [flexcoders] DataGrid Number of Rows

2008-01-29 Thread Sherif Abdou
ya the rowCount property - Original Message From: Jehanzeb Musani [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 10:16:49 AM Subject: [flexcoders] DataGrid Number of Rows Hello All, I am binding an arraycollection as DataGrid's data source. The number

Re: [flexcoders] DataGrid Number of Rows

2008-01-29 Thread Jehanzeb Musani
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

[flexcoders] DataGrid Number of Rows

2008-01-29 Thread Jehanzeb Musani
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

Re: [flexcoders] DataGrid Number of Rows

2008-01-29 Thread Scott Melby
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.