Torey, I'd be interested to see your "two datagrid" solution, as that is what I am resorting to as well. I bound the widths of the totals datagrid to the widths of the main datagrid, but when I resize the widths in the main datagrid, the column widths in the totals datagrid don't come along for the ride. I wonder if I will have to disable resizing of the columns.
--Lisa -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lisa Nelson Sent: Thursday, July 06, 2006 14:05 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: DataGrid Totals Row 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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Torey Maerz Sent: Friday, June 30, 2006 5:26 To: flexcoders@yahoogroups.com 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 flexcoders@yahoogroups.com, "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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Torey Maerz > Sent: Thursday, June 29, 2006 11:57 AM > To: flexcoders@yahoogroups.com > 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 ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/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/