Assign your own columns

 

<mx:DataGrid>

            <mx:columns>

                        <mx:DataGridColumn headerText="Question ID"
dataField="questioned"

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of one786786
Sent: Friday, June 01, 2007 7:22 AM
To: [email protected]
Subject: [flexcoders] Data Grid Column Headings

 

I am binding an ArrayCollections of objects to a data grid. The
objects are of a custom type. The data grid column headings show the
variable names of the custom object. 
For example, let us assume that object has the following variables
declared: "questionId", "questionType", "questionText". Then, I see
the datagrid showing headings as: "questionId", "questionType",
"questionText".

How could I change the column headings in the datagrid?

Thanks.

 

Reply via email to