PDA

View Full Version : refreshing single row in a grid without refreshing whole grid



neman
9 Jun 2009, 4:52 AM
Is this posible? I'm trying to modify only one cell of a row in a grid but I don't know how :(
I have a Grid in a ContentPanel. Can I render only that cell or at least just single row instead of a whole grid because number of rows is 50+?

Thanks for helping! :)

sven
9 Jun 2009, 4:55 AM
You can just edit the ModelData, the grid will than only update that specific row automatically.

neman
9 Jun 2009, 5:06 AM
I tried that but it doesn't work. I specifically have to click on a "link" that shows grid of information if I want to see updated cell

neman
9 Jun 2009, 6:52 AM
I feel kinda stupid right now :)
I just had to do this in onSuccess() method:


myGrid.getStore().update(row);

and that's it :)