Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought

Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Author Topic: Cyclic update for datagrid or TileList  (Read 8961 times)
Jr. Member
Posts: 17

View Profile Email
« on: June 09, 2008, 02:32:03 »

Hi all,

For a real time monitor, I need some update of some values, but NOT all, from a list of data.
My Proxy is taking care of keeping data up to date.

How do I make my display list to be updated?

Does my mediator reload ALL the data whether it was updated or not, or... what????

Many thanks for your help.

Best regards from France,
Global Moderator
Hero Member
Posts: 2871

View Profile WWW Email
« Reply #1 on: June 10, 2008, 06:31:47 »

If you have th proxy managing an array collection then you can just hablve the mediator set a reference to it as the dataprovider for your datagrid or tilelist and updates to the view control will be handled automagically by flex when the data in the collection changes.

As for the 'some but not all' clause to your post, that depends on whether you mean you don't need all the columns or all of the rows of your data.
If its rows, the have your proxy set a filter on the arraycollection. If its columns you don't want, have the datagrid only show the columns you want by defining datagridcolumn objects for the desired columns.

Pages: [1]