Have you debugged your project to see if the IDatasource is queried when you perform the Ajax reload?? If you reload the page does the data update?? -- Marc Nuri
On Mon, Apr 18, 2011 at 13:19, GJT <taulant.gju...@helvetic.com> wrote: > I tried that before and I tried it again, but it doesn't work. I think the > problem is somewhere with my LoadableDetachableModel which contains a > constructor, equals(Object), hashCode() and load() > > > Marc Nuri wrote: > > > > Try this: > > +++ > > grid.markAllItemsDirty(); > > grid.update(); // <- This adds the grid to AjaxRequestTarget, > > so target.addComponent(grid) is not necessary > > +++ > > Regards > > -- > > Marc Nuri > > > > On Mon, Apr 18, 2011 at 10:15, GJT <taulant.gju...@helvetic.com> > > wrote: > > > >> I am using wicket 1.4.16 and inmethod-grid 1.4.17 > >> > >> For example, I have a list of flights. I select every flight I want to > >> change. So I press a button which opens a modal window. There I change > >> the > >> times of the selected flights. After saving, the table should load the > >> new > >> data (target.addComponent(grid)). That's what I mean with refresh. > >> > >> -- > >> View this message in context: > >> > http://apache-wicket.1842946.n4.nabble.com/Inmethod-Grid-Select-All-or-Reload-Grid-tp3456685p3456877.html > >> Sent from the Users forum mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Inmethod-Grid-Select-All-or-Reload-Grid-tp3456685p3457237.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >