You need to call the update() method during an ajax request after you
have marked the items dirty.

-Matej

On Sat, Jul 11, 2009 at 11:01 AM, Erik van Oosten<e.vanoos...@grons.nl> wrote:
> Hi,
>
> How can I trigger an inmethod grid to do a /complete/ update of itself?
>
> The only thing that I see is markAllDirty(). That will update the items
> currently in the list, but it will /not/ get new items from the data
> provider.
>
> I researched the code for quite some time but I must have been looking at
> the wrong parts as I found no hook to get this done. The most I could do was
> call detach() on Body, one of the inner classes of a grid. But on screen,
> that would only update the number of items in the lower toolbar, not the
> items in the grid themselves.
>
> More ideas?
>
> Ideally, imho, the grid should respond to modelChanged(). But I have still
> no clue what should be in that method.
>
> Regards,
>   Erik.
>
>
> --
> Erik van Oosten
> http://www.day-to-day-stuff.blogspot.com/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to