Advertisement

10.04.2008 at 02:31AM PDT, ID: 23787112
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.5

ArrayCollection objects to DataGrid

Asked by kristian_gr in Adobe Flex

Hi.
I'm having a problem figuring out how to use an ArrayCollection of objects in a DataGrid.
Im having an ArrayCollection with objects - PersonInvolvement.
The PersonInvolvement object has the object Person and the Object InvolvementType.
Now I'd like to create a DataGrid that displays firstName from the object Person.

<mx:DataGrid width="725" height="197" dataProvider="{PersonInvolvement_List}">
    <mx:columns>
      <mx:DataGridColumn headerText="Fornavn" dataField="person.firstName"/>
    </mx:columns>
</mx:DataGrid>

With this I get nothing.
Using dataField="person" - I get Object.object - so the object is there.
Using the debugger I can see that the "PersonInvolvement_List" contains every thing I need.
Any ideas?Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
package entity { 
	import mx.collections.ArrayCollection;
	[Bindable]
	[RemoteClass(alias="entity.PersonInvolvement")]
	public class PersonInvolvement{
		public var id:int;
		public var person:Person;
		public var involvementType:InvolvementType;
         }
}
package entity { 
   import mx.collections.ArrayCollection;
   [Bindable]
   [RemoteClass(alias="entity.Person")]
   public class Person{
     public var id:int;
     public var firstName:String;
     public var lastName:String;
   }
}
[+][-]10.04.2008 at 05:58AM PDT, ID: 22640637

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.04.2008 at 08:33AM PDT, ID: 22641293

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.04.2008 at 12:32PM PDT, ID: 22642000

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.04.2008 at 12:35PM PDT, ID: 22642013

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.05.2008 at 06:10AM PDT, ID: 22644370

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.05.2008 at 08:05AM PDT, ID: 22644839

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.05.2008 at 08:34AM PDT, ID: 22644954

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.05.2008 at 02:23PM PDT, ID: 22646089

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.05.2008 at 10:54PM PDT, ID: 22647354

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.06.2008 at 08:20AM PDT, ID: 22650942

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.06.2008 at 10:45AM PDT, ID: 22652504

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.06.2008 at 10:48AM PDT, ID: 22652532

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.06.2008 at 01:04PM PDT, ID: 22653883

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Adobe Flex
Sign Up Now!
Solution Provided By: asaivan
Participating Experts: 1
Solution Grade: A
 
 
[+][-]10.06.2008 at 10:55PM PDT, ID: 22656804

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.07.2008 at 08:09AM PDT, ID: 22660110

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 - Hierarchy / EE_QW_2_20070628