Re: [flexcoders] How to display a total row on a DataGrid

2008-07-23 Thread Sean Clark Hess
I ran with your example, and threw it into a reusable component.  I hope
this helps somebody else! Alex, my traceback is awaiting moderation on your
blog post.
http://code.steelpotato.com/2008/07/footer-datagrid-display-total-or.html

On Mon, Jul 21, 2008 at 1:51 PM, Sean Clark Hess [EMAIL PROTECTED] wrote:

 Your examples were some of the first I looked at.  I don't remember now why
 I thought I couldn't use them.  I'll try the Flex 3 DataGrid Footers post
 again and see if I run into the same problems I'm experiencing (mismatched
 column widths, 100% width not working).
 Thanks for the reminder

 On Mon, Jul 21, 2008 at 1:23 PM, Alex Harui [EMAIL PROTECTED] wrote:

There's a footer example on my blog


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Sean Clark Hess
 *Sent:* Monday, July 21, 2008 11:33 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] How to display a total row on a DataGrid



 Hello All,



 Well, I'm stuck.  I've approached this about 3 different ways and have run
 into (different) dead ends on all of them. I've tried using multiple
 datagrids, which I got working fabulously, but setting the datagrid to width
 100% does really wacky things with the column sizes.  I've also tried to use
 the built-in Summary classes with the AdvancedDataGrid, but they seem only
 to work with Grouped data. I could hack a collection to do it, but that
 would screw up my pagination and wouldn't show unless I scrolled to the
 bottom.



 I just want a footer that displays the total of each column.  Is there any
 good way to do this?  The Summary and Grouping classes were disappointing.



 Thanks

 ~sean





  





RE: [flexcoders] How to display a total row on a DataGrid

2008-07-21 Thread Alex Harui
There's a footer example on my blog

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sean Clark Hess
Sent: Monday, July 21, 2008 11:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to display a total row on a DataGrid

 

Hello All, 

 

Well, I'm stuck.  I've approached this about 3 different ways and have
run into (different) dead ends on all of them. I've tried using multiple
datagrids, which I got working fabulously, but setting the datagrid to
width 100% does really wacky things with the column sizes.  I've also
tried to use the built-in Summary classes with the AdvancedDataGrid, but
they seem only to work with Grouped data. I could hack a collection to
do it, but that would screw up my pagination and wouldn't show unless I
scrolled to the bottom. 

 

I just want a footer that displays the total of each column.  Is there
any good way to do this?  The Summary and Grouping classes were
disappointing. 

 

Thanks

~sean

 

 

 



Re: [flexcoders] How to display a total row on a DataGrid

2008-07-21 Thread Sean Clark Hess
Your examples were some of the first I looked at.  I don't remember now why
I thought I couldn't use them.  I'll try the Flex 3 DataGrid Footers post
again and see if I run into the same problems I'm experiencing (mismatched
column widths, 100% width not working).
Thanks for the reminder

On Mon, Jul 21, 2008 at 1:23 PM, Alex Harui [EMAIL PROTECTED] wrote:

There's a footer example on my blog


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Sean Clark Hess
 *Sent:* Monday, July 21, 2008 11:33 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] How to display a total row on a DataGrid



 Hello All,



 Well, I'm stuck.  I've approached this about 3 different ways and have run
 into (different) dead ends on all of them. I've tried using multiple
 datagrids, which I got working fabulously, but setting the datagrid to width
 100% does really wacky things with the column sizes.  I've also tried to use
 the built-in Summary classes with the AdvancedDataGrid, but they seem only
 to work with Grouped data. I could hack a collection to do it, but that
 would screw up my pagination and wouldn't show unless I scrolled to the
 bottom.



 I just want a footer that displays the total of each column.  Is there any
 good way to do this?  The Summary and Grouping classes were disappointing.



 Thanks

 ~sean