Anuj,

You will already have seen a few comments about this problem.

If the user is updating the database  inside the application you can use an 
event to signal to the application that the trees dataprovider should be 
refreshed, that would cause your tree to be updated.

Of course, if your tree contains data being updated by other users 
concurrently, then you still won't immediately see the changes that they 
make.

Paul
----- Original Message ----- 
From: "anuj181" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, October 22, 2008 12:23 AM
Subject: [flexcoders] How to keep Tree control synchronized with the 
database. Please Help


> Hi Guys
> I am trying to retrieve values form the database PostGres. I used REST
> calls for fetching the data and i am successful in binding that data
> with the data Provider of Tree control.
> Now my problem is that if I inserted any entry in the database, it
> will not update the Tree control directly. Once i refresh the page it
> shows the inserted entry. Can some one explain what 's the best way of
> dynamically synchronizing my Tree Control (UI) with the database.
> Any help and guidance or approach will be highly appreciated.
> Thanks
> Anuj


Reply via email to