Kenwio
07-27-2008, 02:18 PM
Hi!
I have:
//dataGrid is a DataGrid declared earlier
var cols:Array = dataGrid.columns;
trace(cols);
If I test/debug this I get:
[object DataGridColumn],[object DataGridColumn],[Obje...
But I want to access the 'dataField' property of each DataGridColumn in the array 'cols'.
How do I do that?
I have:
//dataGrid is a DataGrid declared earlier
var cols:Array = dataGrid.columns;
trace(cols);
If I test/debug this I get:
[object DataGridColumn],[object DataGridColumn],[Obje...
But I want to access the 'dataField' property of each DataGridColumn in the array 'cols'.
How do I do that?