your problem is most likely that you are not using proper models.

in your idataprovider.model you should return a model that can load
the data from the database on its own. you are most likely just doing
return new model(object); which simply holds on to that object
forever, what you should do is return new entitymodel(object) that can
reload a fresh one.

-igor

2009/3/27 Murat Yücel <[email protected]>:
> Hi All
>
> I have a question regarding how to add AjaxSelfUpdatingTimerBehaviors to
> some of the cells in a datatable.
> What is the best practice and should i use something else?
>
> Today i have a list of items which is retrieved from the database each time
> there is a request. The refresh
> rate can be set by the user in a setting page. I have made a quick solution
> where i was adding an
> AjaxSelfUpdatingTimerBehavior to the whole table. It is working perfectly
> fine for high refresh rates, but
> if the user sets the refresh rate to 1 second then the refresh gives
> problem.
>
> The AjaxFallbackDefaultDataTable includes checkboxes and is inside a form. I
> am now trying to change
> the logic so only the relevant cells are updated. The problem is that i
> cannot figure out how to do it. Because
> the model for each item will be called but the dataprovider is not called to
> retrieve the newest data from the
> database.
>
> Hope that someone can help or suggest a better solution.
>
> The project is open source so if you need to see code you just say the word
> :)
>
> Kind regards
>
> /Murat
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to