[flexcoders] Problem with extending mx.controls.DataGrid

2006-10-03 Thread Van De Velde Hans
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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Problem with extending mx.controls.DataGrid

2006-10-03 Thread Van De Velde Hans
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 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 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Problem with extending mx.controls.DataGrid

2006-10-03 Thread Bas J. Brey












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:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Namens Van De Velde Hans
Verzonden: dinsdag 3 oktober 2006
15:14
Aan: 'flexcoders@yahoogroups.com'
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 
   
 

  




__,_._,___