header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
flex
Points:0
Posts:0

6/7/2010 12:05:38 AM

Title: AdvancedDatagrid column group problem


i have XML in e4x format like,
<List>
<ListValue number="10" storenumber="1" storename="xyz" value1="12" value2="45" />
<ListValue number="11" storenumber="2" storename="abc" value1="4737" value2="56" />
</List>



i have to create advanced datagrid dynamically like,


number storenumber storename value1 value2
value value
10 1 xyz 12 45
11 2 abc 4737 56

here value1 value2 is not fixed two columns..it can extend to value3 also..i want to make every value1,value2,value3 column as AdvancedDatagridColumnGroup. and vaue as AdvancedDatagridColumn.

Can anyone give me code for this..im struck with this from one week...

Thanks in advance:)



1
Dave
Points: 970
Posts:1
6/7/2010 11:48:43 AM



On this link you can find a good example to create columns dynamically
http://www.cflex.net/showFileDetails.cfm?ObjectID=553

2
Tyler
Points: 0
Posts:0
6/7/2010 12:11:10 PM



check this link to populate advanced dataGrid using e4x xml from httpservice. You can set the colums array for datagrid and modify it later to increase or decrease the number of columns in a advanced datagrid
http://cookbooks.adobe.com/post_Populating_an_AdvancedDataGrid_from_an_XML_file_us-11686.html


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 1+1 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions