Hi - 

I'm using an AdvancedDataGrid with a rendererProvider of another DataGrid; 
meaning when you expand a row another DataGrid appears. I found documentation 
online that shows how to create the appropriate multidimensional array to feed 
both DataGrids. The array looks like this:

 private var dummyData:Array= [
{ app:"Microsoft Outlook", 
children:[[
                                                                
{type:'Activity',metric:'Outlook Send Mail 
Latency',value:'70%',deviation:'85%'},
                                                                
{type:'Process',metric:'Outlook.EXE CPU Load',value:'80%',deviation:'70%'},
                                                                
{type:'Profiler',metric:'UI Utilization by 
Symantec',value:'45%',deviation:'60%'},
                                                                                
                        {type:'WMI',metric:'Connection Stats Failed 
RPCs',value:'85%',deviation:'85%'} ]]}]}];

I plug it in and both DataGrids can point to a dataField and get the data no 
problem. The issue now is that I have to create this type of multidimensional 
array on the fly, using an array I pass back from XML that is not 
multidimensional, i.e. the Array looks like this:

Array [0] myDTO
_property
_property
_property

Array [1] myDTO
_property
_property
_property

Some of the properties populate the first grid and some populate the inner 
grid. Do I have it wrong here? Should I be passing back a multidimensional 
array instead or can I make it work like this? 

Any tips are greatly appreciated. 

Thanks,

Matt

Reply via email to