[flexcoders] Extended component on Datagrid breaks when using a XMLListCollection

2007-06-04 Thread gur_sukh

I have extended datagrid to display an information canvas for a cell. 
The code works fine with ArrayCollection as data. But when testing this 
component with XMLlistColleciton it breaks. The image icon is not 
displayed at all.

Thanks
Jas



Re: [flexcoders] Extended component on Datagrid breaks when using a XMLListCollection

2007-06-04 Thread Jas Kaur
any ideas?


- Original Message 
From: gur_sukh [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, June 4, 2007 10:24:52 PM
Subject: [flexcoders] Extended component on Datagrid breaks when using a 
XMLListCollection


I have extended datagrid to display an information canvas for a cell. 
The code works fine with ArrayCollection as data. But when testing this 
component with XMLlistColleciton it breaks. The image icon is not 
displayed at all.

Thanks
Jas





  Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca


RE: [flexcoders] Extended component on Datagrid breaks when using a XMLListCollection

2007-06-04 Thread Alex Harui
It usually helps to show some code.  English is too ambiguous.  One
common problem is that XML attributes are accessed differently than
object properties

 

var xml:XML = xmlnode attr1=foo /

 

var obj:Object = { attr1 : foo };

 

You would access obj.attr1 and [EMAIL PROTECTED] and thus the dataFields in
your DataGridColumns need to change accordingly

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jas Kaur
Sent: Monday, June 04, 2007 9:13 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Extended component on Datagrid breaks when
using a XMLListCollection

 

any ideas?

- Original Message 
From: gur_sukh [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, June 4, 2007 10:24:52 PM
Subject: [flexcoders] Extended component on Datagrid breaks when using a
XMLListCollection


I have extended datagrid to display an information canvas for a cell. 
The code works fine with ArrayCollection as data. But when testing this 
component with XMLlistColleciton it breaks. The image icon is not 
displayed at all.

Thanks
Jas

 

 



Ask a question on any topic and get answers from real people. Go to
Yahoo! Answers. http://ca.answers.yahoo.com