Fudong,

dataGrid.columns[ 0 ].dataField

Note the aquare brackets above.

Also :
var o:Object;

o.something = 3;
for ( var prop:String in o ) {
        trace("Property " + prop + " value " + o[prop] ); 
}

HTH,
Mike


--- In [email protected], "fudongli" <[EMAIL PROTECTED]> wrote:
>
> Maybe a simple question:
> I have a datagrid which have four columns. I would like to know the 
value 
> of dataField of a column. How do I find it out?
> 
> datagrid.columns(1).dataField  not working
> 
> 
> Also, 
> Is it possible to find out all the propertis of one object through a 
loop?
> 
> Thanks,
> 
> Fudong
>


Reply via email to