hi
*
static* *public* *function* calculateHeight(percentHeight: int): int
{
*var* screenResolution: int = Capabilities[*"screenResolutionY"*];
*var* calculatedHeight: int = (screenResolution -
controllermodel.defaultAreaHeight) * (percentHeight/100);
*return* calculatedHeight;
}
use this for calcukating height of data grid
On Mon, Sep 27, 2010 at 10:42 AM, chaitanya <
[email protected]> wrote:
> Hi All,
>
> I have a data grid whose data provider is an arraycollection. How can
> i increase / decrease the rowcount based on the screen resolution. i
> tried using the rowcount, but it didn't work. An example is worth more
> important
>
> Thanks,
> Chaitanya
>
> --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<flex_india%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.