Assuming that you have different service call for adding/deleting and
getting document list from server

call httpService for getting latest documents data collection on server in
side document adding/deleting operation service response handler.

Thanks,
Natwar

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of KannanBabu
Sent: Monday, July 05, 2010 9:40 AM
To: Flex India Community
Subject: [flex_india:30620] Re: How to refresh an ArrayCollection when it's
added.

Thank you very much friends .. for your tremendous response.. My
apologize for the late reply.. Let me try and keep you posted.

On Jul 4, 4:21 am, Sidhu Vijay Sidhu <[email protected]> wrote:
> arrCollection.referesh();
>
> On Sat, Jul 3, 2010 at 1:46 PM, sheetal nilwant
<[email protected]>wrote:
>
>
>
> > say:-
> > myArrayCollection.refresh();
>
> > On Sat, Jul 3, 2010 at 3:34 AM, KannanBabu <[email protected]>
wrote:
>
> >> Hi All,
>
> >> I am new to flex and currently doing a small project for uploading /
> >> managing documents with folders (User can create the folders and add
> >> documents).
>
> >> In my application i have several component to make the project as
> >> simpler as possible. At the time of loading the application i called a
> >> httpService to get the data from database and assigned it to an
> >> ArrayCollection.
>
> >> When user would like to add some more documents they can select the
> >> particular folder and start adding. it's adding in the database and
> >> file manipulation like copying and all working fine.
>
> >> The problem is when the user uploaded the new documents,
>
> >> Again i would like to call the httpService which i have declared in
> >> the main Application so that the data would be refreshed.
>
> >> In order to overcome this issue in the main application i just kept a
> >> button and in the click event i called the httpservice once again..
> >> it's work well.. but I dont want to do this.
>
> >> How can i acheive this in a simpler manner with out hitting the
> >> refresh button ... any best practices are there to overcome this
> >> issue.
>
> >> Please help me to solve this.
>
> >> Thanks
>
> >> --
> >> You received this message because you are subscribed to the Google
Groups
> >> "Flex India Community" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >>
[email protected]<flex_india%2bunsubscr...@googlegrou­
ps.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/flex_india?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google
Groups
> > "Flex India Community" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> >
[email protected]<flex_india%2bunsubscr...@googlegrou­
ps.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/flex_india?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups
"Flex India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to