Since you are extending DataGrid via a mxml way, you don't have to use "mx" namespace.
Try removing the red text and see if it works, this is how I create extended datagrid several months ago.
<myComp:BetterDataGrid>
<mx:columns>
<mx:DataGridColumn headerText="Song Name" dataField="label"/>
<mx:DataGridColumn headerText="Artist" dataField="label"/>
</mx:columns>
</myComp:BetterDataGrid>
Jeremy.
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.