Hi, what does the "@" symbol do when using the xml class? I had the
following columns in a datagrid and when the data was bound it made the
correct number of rows, but didn't display anything in the cells:

 

<mx:columns>

 
<mx:DataGridColumn headerText="Avatar" dataField="avatarUrl"/>

 
<mx:DataGridColumn headerText="ID" dataField="id"/>

 
<mx:DataGridColumn headerText="Username" dataField="username"/>

 
<mx:DataGridColumn headerText="Site ID" dataField="siteId"/>

 
<mx:DataGridColumn headerText="First Name" dataField="firstname"/>

 
<mx:DataGridColumn headerText="Last Name" dataField="lastname"/>

 
<mx:DataGridColumn headerText="Nickname" dataField="nickname"/>

                                                </mx:columns>

 

But then I changed all dataField properties to have the "@" symbol at
the front and it worked fine. What's the "@" symbol do?

 

Cheers,

 

Mark

 

 

 

Reply via email to