You have to use the package name when creating the columns inside a custom class.

 

For example if you have a DataGridEx.class in package Classes and you want to create columns for it do it as following:

 

<Classes:DataGridEx>

    <Classes:columns>

      <mx:DataGridColumn />

    </Classes:columns>

</Classes:DataGridEx>

 

And yes this is weird J

 


Van: [email protected] [mailto:[EMAIL PROTECTED] Namens Van De Velde Hans
Verzonden: dinsdag 3 oktober 2006 15:14
Aan: '[email protected]'
Onderwerp: RE: [flexcoders] Problem with extending mx.controls.DataGrid

 

Naturally, I can obtain my goal by setting the columns array with
DataGridColumns with code,
but it's less elegant I think.

-----Original Message-----
From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On
Behalf Of Van De Velde Hans
Sent: dinsdag 3 oktober 2006 14:48
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] Problem with extending mx.controls.DataGrid

Hi list,

I'm busy skinning the DataGrid by extending mx.controls.DataGrid, but I get
an error when using the <mx:columns> - tag with the extended DataGrid
component :

"Could not resolve <mx:columns> to a component implementation."

Does anybody have a fix?

Wkr,
Hans.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to