Columns is an array, so datagrid.columns[1].dataField should work.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of fudongli Sent: Monday, March 12, 2007 12:24 PM To: [email protected] Subject: [flexcomponents] How to find dataField of a datagrid column 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
