PDA

View Full Version : Grid refresh question



Jangla
12 Nov 2010, 3:40 AM
Here's the theory of what I'm trying to do: I have grid that has a paging size of 50 rows. The content in these rows is pretty heavy i.e. images, lots of text, multiple row actions etc. Now, one of the row actions is meant to update a single cell value and then hide itself and show it's counterpart action.

At the moment everything works ok but the grid has to reload it's store for each of these changes and it's pretty clunky. What I'd like to achieve is to manually update the store records (no problem there) and then refresh the grid view without making the store call the server again - effectively ask the grid to re-read the store without making a server request. The idea being that this will provide a much faster user experience.

Anyone know if this is possible?

plalx
12 Nov 2010, 6:59 AM
grid.view.refresh();