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?