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.
Bujji1
Points:160
Posts:0

11/8/2010 2:40:49 PM

Title: DataGrid Drill Down


Dear All,

I have a data grid and pie chart , both displaying the car models data . Data grid is assigned to Pie chart data provider . Pie chart has drill down events and it drill downs to 3 levels in the input XML provided .

On the datagrid I display the data and every row will have "Drill down" link button . If I click on the drill down , it should drill down to the next level and should display the list . Just like pie chart . Below is the code for pie chart . Could somebody help me same functionality for Datagrid ( But again not double clicking on the row , but click on the drill down button a row )




 private function pieChart_itemClick(evt:ChartItemEvent):void {
					var item:PieSeriesItem = evt.hitData.chartItem as PieSeriesItem;
					var xml:XML=evt.hitData.item as XML;
					var nodeName:String=xml.name().toString();					
					if(nodeName=='Model'){
						rootNode=XML(evt.hitData.chartItem.item);						
						graphPie.dataProvider=xml.Make;
                                        ..........................................
					if(nodeName=='Make'){
						rootNode=XML(evt.hitData.chartItem.item);						
						graphPie.dataProvider=xml.Year;
                                        ..........................................

Thanks for your help



1
Andrid
Points: 720
Posts:0
11/9/2010 4:29:38 AM



you should use advanced datagrid for that


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 1+0 



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