PDA

View Full Version : Refresh without Reload?



arcticweb
21 Sep 2010, 11:38 AM
I have a GridPanel with PagingToolbar that loads search results. From those results, a form window can be opened to update/submit a form. I have it setup so that the grid is reloaded once the window is closed, to update any changes into the GridPanel. The problem is that the refresh() reloads my panel, and bounces back to to page 1. How would I use the same functionality as the paging bar refresh button? I would like the panel to remain on the same page/location, if possible. Thanks in advance!

troseberry
21 Sep 2010, 11:46 AM
you could try calling the PagingToolbar's doRefresh() method.

arcticweb
21 Sep 2010, 1:27 PM
Works like a charm, thanks t!!