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




__,_._,___

Reply via email to