Re: [flexcoders] Adding up ArrayCollections to DataGrid

2011-08-26 Thread Bill Brutzman
Venkat:

 

The middleware matters.  Is ColdFusion in use there?

 

--Bill

 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Venkat M
Sent: Thursday, August 25, 2011 8:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Adding up Arraycollections to Datagrid!

 

  

Hi Bill,

 

I understood that make array collection A as an array ( I will just use to 
array(), and it will be done).

Similarly I will do for array collection B.

 

But how to add them in a pair order in to array collection C. Please Assist!

 

Would be great if u have an example or a pseudo snippet!! Thanks!!

 

 


Best Regards,

Venkat Maddali.

 

 

 


  _  


From: Bill Brutzman bill.brutz...@scottynow.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 25, 2011 5:27 PM
Subject: RE: [flexcoders] Adding up Arraycollections to Datagrid!

  

Venkat:

 

Yes… of course this can be done.  The next question is how… and what is the 
best way to do it.

 

From another point of view… “A” could be thought of as an array… an object 
different from an Array Collection.

 

Likewise, “B” could be thought of as another array.

 

“C” then would be an Array Collection.

 

The best treatment of this subject that I have seen can be found in the recent 
book… “Effortless Flex 4 Development” by the outstanding author Larry Ullman.

 

Although the book is based on PHP, as a ColdFusion guy, I have found the book 
to be very helpful.

 

I have something like this in ColdFusion… two CFCs… a method CFC and a data 
structure CFC… that talk to each other and a Flex app… that have the added 
benefit of working ok with the Flex Data/Services wizard.

 

Regards,

 

--Bill

 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Venkat M
Sent: Thursday, August 25, 2011 6:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding up Arraycollections to Datagrid!

 

  

Hi Group, 

 

I have a basic question on arraycollections. Please assist.

 

I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}

Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}

 

Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection? 

(Or)

Can we make an arraycollection C, that has the values of arraycollection A and 
arraycollection B paired up and then just bind to datagrid. If so, please help 
me how to fabricate arraycollection C.

   (Or)

Any other ideas, please comment.

 

Thanks in advance.

 


Best Regards,

Venkat.

 

 

 





Re: [flexcoders] Adding up ArrayCollections to DataGrid

2011-08-26 Thread Venkat M
Hi Bill,
 
No we use java thru BlazeDS.

Best Regards,
Venkat Maddali. 

 

From: Bill Brutzman bill.brutz...@scottynow.com
To: flexcoders@yahoogroups.com
Sent: Friday, August 26, 2011 6:41 AM
Subject: Re: [flexcoders] Adding up ArrayCollections to DataGrid

  
Venkat:
 
The middleware matters.  Is ColdFusion in use there?
 
--Bill
 
From:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Venkat M
Sent: Thursday, August 25, 2011 8:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Adding up Arraycollections to Datagrid!
 
  
Hi Bill,
 
I understood that make array collection A as an array ( I will just use to 
array(), and it will be done).
Similarly I will do for array collection B.
 
But how to add them in a pair order in to array collection C. Please Assist!
 
Would be great if u have an example or a pseudo snippet!! Thanks!!
 
 
Best Regards,
Venkat Maddali. 
 
 
 
From:Bill Brutzman bill.brutz...@scottynow.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 25, 2011 5:27 PM
Subject: RE: [flexcoders] Adding up Arraycollections to Datagrid!
  
Venkat:
 
Yes… of course this can be done.  The next question is how… and what is the 
best way to do it.
 
From another point of view… “A” could be thought of as an array… an object 
different from an Array Collection.
 
Likewise, “B” could be thought of as another array.
 
“C” then would be an Array Collection.
 
The best treatment of this subject that I have seen can be found in the 
recent book… “Effortless Flex 4 Development” by the outstanding author Larry 
Ullman.
 
Although the book is based on PHP, as a ColdFusion guy, I have found the book 
to be very helpful.
 
I have something like this in ColdFusion… two CFCs… a method CFC and a data 
structure CFC… that talk to each other and a Flex app… that have the added 
benefit of working ok with the Flex Data/Services wizard.
 
Regards,
 
--Bill
 
From:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Venkat M
Sent: Thursday, August 25, 2011 6:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding up Arraycollections to Datagrid!
 
  
Hi Group,
 
I have a basic question on arraycollections. Please assist.
 
I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}
 
Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection? 
(Or)
Can we make an arraycollection C, that has the values of arraycollection A 
and arraycollection B paired up and then just bind to datagrid. If so, please 
help me how to fabricate arraycollection C.
   (Or)
Any other ideas, please comment.
 
Thanks in advance.
 
Best Regards,
Venkat. 
 
 
 


[flexcoders] Adding up Arraycollections to Datagrid!

2011-08-25 Thread Venkat M
Hi Group, 
 
I have a basic question on arraycollections. Please assist.
 
I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}
 
Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection? 
(Or)
Can we make an arraycollection C, that has the values of arraycollection A and 
arraycollection B paired up and then just bind to datagrid. If so, please help 
me how to fabricate arraycollection C.
   (Or)
Any other ideas, please comment.
 
Thanks in advance.
 
Best Regards,
Venkat. 

Re: [flexcoders] Adding up Arraycollections to Datagrid!

2011-08-25 Thread Alex Harui
You can just use A and use a second column with a label function that 
references B


On 8/25/11 3:11 PM, Venkat M venkat_...@yahoo.com wrote:






Hi Group,

I have a basic question on arraycollections. Please assist.

I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}

Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection?
(Or)
Can we make an arraycollection C, that has the values of arraycollection A and 
arraycollection B paired up and then just bind to datagrid. If so, please help 
me how to fabricate arraycollection C.
   (Or)
Any other ideas, please comment.

Thanks in advance.

Best Regards,
Venkat.







--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui


RE: [flexcoders] Adding up Arraycollections to Datagrid!

2011-08-25 Thread Bill Brutzman
Venkat:

 

Yes. of course this can be done.  The next question is how. and what is the
best way to do it.

 

From another point of view. A could be thought of as an array. an object
different from an Array Collection.

 

Likewise, B could be thought of as another array.

 

C then would be an Array Collection.

 

The best treatment of this subject that I have seen can be found in the
recent book. Effortless Flex 4 Development by the outstanding author Larry
Ullman.

 

Although the book is based on PHP, as a ColdFusion guy, I have found the
book to be very helpful.

 

I have something like this in ColdFusion. two CFCs. a method CFC and a data
structure CFC. that talk to each other and a Flex app. that have the added
benefit of working ok with the Flex Data/Services wizard.

 

Regards,

 

--Bill

 

From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Venkat M
Sent: Thursday, August 25, 2011 6:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding up Arraycollections to Datagrid!

 

  

Hi Group, 

 

I have a basic question on arraycollections. Please assist.

 

I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}

Also I have an arraycollection B populated with values
{one,two,three,four,five,six,seven,eight,nine,ten}

 

Given this data, How do I present this in a datagrid? Can I map at a column
level to an array collection? 

(Or)

Can we make an arraycollection C, that has the values of arraycollection A
and arraycollection B paired up and then just bind to datagrid. If so,
please help me how to fabricate arraycollection C.

   (Or)

Any other ideas, please comment.

 

Thanks in advance.

 


Best Regards,

Venkat.

 

 





Re: [flexcoders] Adding up Arraycollections to Datagrid!

2011-08-25 Thread Claudio M. E. Bastos Iorio
Hi, you need a hashtable or a dictionary
On Aug 25, 2011 7:47 PM, Venkat M venkat_...@yahoo.com wrote:
 Hi Group,

 I have a basic question on arraycollections. Please assist.

 I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
 Also I have an arraycollection B populated with values
{one,two,three,four,five,six,seven,eight,nine,ten}

 Given this data, How do I present this in a datagrid? Can I map at a
column level to an array collection?
 (Or)
 Can we make an arraycollection C, that has the values of arraycollection A
and arraycollection B paired up and then just bind to datagrid. If so,
please help me how to fabricate arraycollection C.
(Or)
 Any other ideas, please comment.

 Thanks in advance.

 Best Regards,
 Venkat.


Re: [flexcoders] Adding up Arraycollections to Datagrid!

2011-08-25 Thread Venkat M
Hi Alex,

So I understand that bind array collection A to the data grid as data provider. 
and then bind array collection B to the label function of DatagridColoum.

I tried out its not working. Please Assist!
 
Best Regards,
Venkat Maddali. 
 
 




From: Alex Harui aha...@adobe.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Thursday, August 25, 2011 4:50 PM
Subject: Re: [flexcoders] Adding up Arraycollections to Datagrid!


  
You can just use A and use a second column with a label function that 
references B


On 8/25/11 3:11 PM, Venkat M venkat_...@yahoo.com wrote:



 
 
   

Hi Group,

I have a basic question on arraycollections. Please assist.
 
I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}
 
Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection? 
(Or)
Can we make an arraycollection C, that has the values of arraycollection A 
and arraycollection B paired up and then just bind to datagrid. If so, please 
help me how to fabricate arraycollection C.
   (Or)
Any other ideas, please comment.
 
Thanks in advance.

Best Regards,
Venkat.



   



-- 
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui
 
 



Re: [flexcoders] Adding up Arraycollections to Datagrid!

2011-08-25 Thread Venkat M
Hi Bill,

I understood that make array collection A as an array ( I will just use to 
array(), and it will be done).
Similarly I will do for array collection B.

But how to add them in a pair order in to array collection C. Please Assist!

Would be great if u have an example or a pseudo snippet!! Thanks!!
 
 
Best Regards,
Venkat Maddali. 
 
 




From: Bill Brutzman bill.brutz...@scottynow.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 25, 2011 5:27 PM
Subject: RE: [flexcoders] Adding up Arraycollections to Datagrid!


  
Venkat:
 
Yes… of course this can be done.  The next question is how… and what is the 
best way to do it.
 
From another point of view… “A” could be thought of as an array… an object 
different from an Array Collection.
 
Likewise, “B” could be thought of as another array.
 
“C” then would be an Array Collection.
 
The best treatment of this subject that I have seen can be found in the recent 
book… “Effortless Flex 4 Development” by the outstanding author Larry Ullman.
 
Although the book is based on PHP, as a ColdFusion guy, I have found the book 
to be very helpful.
 
I have something like this in ColdFusion… two CFCs… a method CFC and a data 
structure CFC… that talk to each other and a Flex app… that have the added 
benefit of working ok with the Flex Data/Services wizard.
 
Regards,
 
--Bill
 
From:flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf 
Of Venkat M
Sent: Thursday, August 25, 2011 6:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding up Arraycollections to Datagrid!
 
  
Hi Group,
 
I have a basic question on arraycollections. Please assist.
 
I have an array collection A populated with values {1,2,3,4,5,6,7,8,9,10}
Also I have an arraycollection B populated with values 
{one,two,three,four,five,six,seven,eight,nine,ten}
 
Given this data, How do I present this in a datagrid? Can I map at a column 
level to an array collection? 
(Or)
Can we make an arraycollection C, that has the values of arraycollection A and 
arraycollection B paired up and then just bind to datagrid. If so, please help 
me how to fabricate arraycollection C.
   (Or)
Any other ideas, please comment.
 
Thanks in advance.
 
Best Regards,
Venkat.