wood burning stoves 2.0*
The moose likes Flex and the fly likes How to add elements to an ArrayCollection and display them with DataGrid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "How to add elements to an ArrayCollection and display them with DataGrid" Watch "How to add elements to an ArrayCollection and display them with DataGrid" New topic
Author

How to add elements to an ArrayCollection and display them with DataGrid

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am trying to add elements to an ArrayCollection using


and provided this ArrayCollection as a dataprovider to the DataGrid and when running the page it is displaying an exception that variable "Ravi" is not defined .

Please share your ideas , why is it happening so ??

Thanks in advance .


Save India From Corruption - Anna Hazare.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

"Ravi" (as your current code has is) is not a variable it is a value. Can you show the code that causes the error? (FlexBuilder will break at the line that causes it).


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks Paul ,

Its not at my work place , i will post later .
 
wood burning stoves
 
subject: How to add elements to an ArrayCollection and display them with DataGrid