grid height is fixed bt no. of rows may vary according to data if data
in a row is large grid may contain less no. of rows else greater ie.
rowcount should depend on data displayed in grid at run time how it is
possible

On Apr 21, 7:48 pm, Jagadish M <jagan.f...@gmail.com> wrote:
> Hi Akhil,
>
>   According to your mail, I mean that you don't want to display any
> scrollbars, the grid height should be increased as the data increased..
> for that you hav to use a small property *rowCount="{ac.length}" *
>
> Here the ac is arraycollection
> for ex:
> <mx:DataGrid id="dg" dataProvider="{ac}" click="cli()" rowCount="{ac.length}"
> />
>
> On Tue, Apr 21, 2009 at 6:24 PM, Akhil Agrawal <akhil06.i...@gmail.com>wrote:
>
>
>
> > hi all,
> > i am creating datagrid at runtime by providing data. problem is that
> > grid height is fixed but data may be of variable length so how can i
> > decide the no. of rows in a grid at run time ie.  how can i find the
> > max row height in the grid
>
> > thanxs
>
> --
> Thanks & Regards,
>
> Jagan Mady's
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to