Man, you guys are great. I programmed plsql and flex at the same time, which is the reason of confusion. Great thanks for both Alex and Mike.
Fudong --- In [email protected], "Michael Labriola" <[EMAIL PROTECTED]> wrote: > > 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" <fudongli@> 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 > > >
