Re: [flexcoders] Populating values in datagrid from arrays

2005-10-03 Thread Oscar . Cortes
Try casting the result to an Array ... myArray= mx.utils.ArrayUtil.toArray(event.result); It worked for me in a similar case ...

RE: [flexcoders] Populating values in datagrid from arrays

2005-10-03 Thread Parekh, Shweta - BLS CTR
Title: Message Hi, I type casted the result as you have suggested here. But still my datagrid does not display the values. import classes.ItemSpecVO; var itemSpecVO:ItemSpecVO;var myArray:Array;var itemSpecVO1:ItemSpecVO;var specdata_arr; function

RE: [flexcoders] Populating values in datagrid from arrays

2005-10-03 Thread Tracy Spratt
You are going to need a labelFunction to do this, instead of columnName. private function lblfArray0(oItem:Object):String { return oItem.colSpecData[0]; } mx:DataGridColumn headerText=A labelFunction=lblfArray0 width=50 textAlign=left/ Tracy -Original Message-

RE: [flexcoders] Populating values in datagrid from arrays

2005-10-03 Thread Kelly Roman
if you set it correctly. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Parekh, Shweta - BLS CTR Sent: Monday, October 03, 2005 4:53 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Populating values in datagrid from arrays Hi

RE: [flexcoders] Populating values in datagrid from arrays

2005-10-03 Thread Tracy Spratt
To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Populating values in datagrid from arrays The problem is that when your getdata() function executes you set specdata_arr equal to a single value instead of an array then you repeat that step 4 times. Also, unless your array has