np, last time I did it I was using something like this:

<TreeGrid>
...
</TreeGrid>

so no need to add any namespace, but in your case <myComp> is surely needed, anyway, glad it's working now :-)




On 7/7/06, hank williams <[EMAIL PROTECTED]> wrote:

Hi jeremy,

Thank you very much. That was not it but it was close. The answer was not that mx needed to be deleted but that it needed to match the parent namespace. In other words it needed to be myComp.

That is one I dont think I would have ever figured out!

Regards
Hank



On 7/6/06, Jeremy Lu < [EMAIL PROTECTED]> wrote:

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