[flexcoders] Re: Flex Data Grid Question
--- In flexcoders@yahoogroups.com, InvertedSpear invertedsp...@... wrote: Apologies for resurrecting a somewhat old thread, but since my searches turned me up here and I spent several hours today working on this issue I thought it would be appropriate. Here's is the code I came up with that mostly solves this. My source data is just a basic XMLListCollection. The renderer colSpanningHeader is a basic label component. I did nothing but make it align center ... I find one problem with this, I can't completely get rid of the first column. It makes my grid look a little tacky. Anyone out there know how I can get this same method of grouping without showing the first column? I don't want a folder tree, I just want a header row for each group. Set the treeColumn to an AdvancedDataGridColumn with 0 width?
[flexcoders] Re: Flex Data Grid Question
Check out the AdvancedDataGrid control and documentation. -TH --- In flexcoders@yahoogroups.com, guess what myworld10...@... wrote: I need to draw a data grid where I need to do paint subtotals and and page total and group by some category . Can anyone provide me witha same xml for this kind of table Item ID Name Qty Price Milk --- This is how it should be milk should be first row [Just a blank row with Milk in it ] 1. Soy Milk l 5USD 2. Choclate 2 15USD SubTotal 20 USD [ Again Blank row ] Water [ Again Blank Row ] 1. Aqua 1 10USD 2. Calistoga 1 10USD SubTotal 20 USD [ Again Blank row ] PurchaseTotal 40 USD [ Again Blank row ] Can someone provide with an xml for this type of table in flex . Is it possible .
Re: [flexcoders] Re: Flex Data Grid Question
I did , but I am not sure how to do with row and value on it for the example asked . Can you provide me with a sample . The problem is I can group rows using Advanced Data grid , but if i wanted to display something like footer rows in betwen Data grid . I can not able to do it . --- On Thu, 5/28/09, Tim Hoff timh...@aol.com wrote: From: Tim Hoff timh...@aol.com Subject: [flexcoders] Re: Flex Data Grid Question To: flexcoders@yahoogroups.com Date: Thursday, May 28, 2009, 1:37 PM Check out the AdvancedDataGrid control and documentation. -TH --- In flexcod...@yahoogro ups.com, guess what myworld100us@ ... wrote: I need to draw a data grid where I need to do paint subtotals and and page total and group by some category . Can anyone provide me witha same xml for this kind of table Item ID Name Qty Price Milk - -- This is how it should be milk should be first row [Just a blank row with Milk in it ] 1. Soy Milk l 5USD 2. Choclate 2 15USD SubTotal 20 USD [ Again Blank row ] Water - ---[ Again Blank Row ] 1. Aqua 1 10USD 2. Calistoga 1 10USD SubTotal 20 USD [ Again Blank row ] PurchaseTotal 40 USD [ Again Blank row ] Can someone provide with an xml for this type of table in flex . Is it possible .
[flexcoders] Re: Flex Data Grid Question
A quick Google search: http://www.forta.com/blog/index.cfm/2008/1/29/Summarizing-Grouped-Data-W\ ith-Flex-3-AdvancedDataGrid http://www.forta.com/blog/index.cfm/2008/1/29/Summarizing-Grouped-Data-\ With-Flex-3-AdvancedDataGrid -TH --- In flexcoders@yahoogroups.com, guess what myworld10...@... wrote: I did , but I am not sure how to do with row and value on it for the example asked . Can you provide me with a sample . The problem is I can group rows using Advanced Data grid , but if i wanted to display something like footer rows in betwen Data grid . I can not able to do it . --- On Thu, 5/28/09, Tim Hoff timh...@... wrote: From: Tim Hoff timh...@... Subject: [flexcoders] Re: Flex Data Grid Question To: flexcoders@yahoogroups.com Date: Thursday, May 28, 2009, 1:37 PM Check out the AdvancedDataGrid control and documentation. -TH --- In flexcod...@yahoogro ups.com, guess what myworld100us@ ... wrote: I need to draw a data grid where I need to do paint subtotals and and page total and group by some category . Can anyone provide me witha same xml for this kind of table Item ID Name Qty Price Milk - -- This is how it should be milk should be first row [Just a blank row with Milk in it ] 1. Soy Milk l 5USD 2. Choclate 2 15USD SubTotal 20 USD [ Again Blank row ] Water - ---[ Again Blank Row ] 1. Aqua 1 10USD 2. Calistoga 1 10USD SubTotal 20 USD [ Again Blank row ] PurchaseTotal 40 USD [ Again Blank row ] Can someone provide with an xml for this type of table in flex . Is it possible .
Re: [flexcoders] Re: Flex Data Grid Question
Thanks That was useful. But now since my collumns are also dynamic , How do i do Summary Fields and Grouping using Action Script . I did a search by in Google . But I coudnt find any example . I have got the advanced Data grid working on Action Script . But i dont know how to add summary fields and grouping using Action Script . if you folks can link me to some example I would appreciate Thanks --- On Thu, 5/28/09, Tim Hoff timh...@aol.com wrote: From: Tim Hoff timh...@aol.com Subject: [flexcoders] Re: Flex Data Grid Question To: flexcoders@yahoogroups.com Date: Thursday, May 28, 2009, 2:00 PM A quick Google search: http://www.forta. com/blog/ index.cfm/ 2008/1/29/ Summarizing- Grouped-Data- With-Flex- 3-AdvancedDataGr id -TH --- In flexcod...@yahoogro ups.com, guess what myworld100us@ ... wrote: I did , but I am not sure how to do with row and value on it for the example asked . Can you provide me with a sample . The problem is I can group rows using Advanced Data grid , but if i wanted to display something like footer rows in betwen Data grid . I can not able to do it . --- On Thu, 5/28/09, Tim Hoff timh...@... wrote: From: Tim Hoff timh...@... Subject: [flexcoders] Re: Flex Data Grid Question To: flexcod...@yahoogro ups.com Date: Thursday, May 28, 2009, 1:37 PM Check out the AdvancedDataGrid control and documentation. -TH --- In flexcod...@yahoogro ups.com, guess what myworld100us@ ... wrote: I need to draw a data grid where I need to do paint subtotals and and page total and group by some category . Can anyone provide me witha same xml for this kind of table Item ID Name Qty Price Milk - -- This is how it should be milk should be first row [Just a blank row with Milk in it ] 1. Soy Milk l 5USD 2. Choclate 2 15USD SubTotal 20 USD [ Again Blank row ] Water - ---[ Again Blank Row ] 1. Aqua 1 10USD 2. Calistoga 1 10USD SubTotal 20 USD [ Again Blank row ] PurchaseTotal 40 USD [ Again Blank row ] Can someone provide with an xml for this type of table in flex . Is it possible .