This is something I have been wanting as well.  The closest I have found
is the lockedRowCount property.  But you have to have your top row have
the totals.  If you set it to your dataprovider array collection's
length, then it freezes all the rows.  I don't know any way to get it to
freeze the bottom row.  

Also, I think there is a little gotcha with this if you allow the user
to sort the columns on the fly.  The frozen row doesn't stay there.  It
sorts along with the rest of them.

--Lisa 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Torey Maerz
Sent: Friday, June 30, 2006 5:26
To: [email protected]
Subject: [flexcoders] Re: DataGrid Totals Row

I guess I am more interested in the sum of a particular column showing
at the bottom of the grid.  For example a list of items and how much
they cost and a totals row at the bottom that sums the items in the
list.


--- In [email protected], "Uday M. Shankar" <[EMAIL PROTECTED]>
wrote:
>
> If ur dataprovider takes in an array, maybe you can just get the
length of
> the array and get the number of rows..... Not sure whether this is
the best
> way to do this... but this is one way .... :-)
> 
>  
> 
> -Uday
> 
>  
> 
>   _____
> 
> From: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of Torey Maerz
> Sent: Thursday, June 29, 2006 11:57 AM
> To: [email protected]
> Subject: [flexcoders] DataGrid Totals Row
> 
>  
> 
> I have been looking around to find a good solution to a totals row
in a 
> datagrid for Flex 2 but have not really found anything that seems
to 
> work well. I will probably go down the route of having more than
one 
> grid and making sure that the columns, scroll and that type of
thing 
> line up. I am still curious about what others have done in this 
> situation. Is there anthing in Flex 2 that makes this easier?
>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links



 







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to