PDA

View Full Version : Change row values in a grid without reload



Nexus3
25 Feb 2011, 7:41 AM
Hi, im trying to change the values of one colums's grid without reload the store.

Ive in a window two elements, a grid and a form, like the example Binding: Grid->Form, automatically loads records into the form on row selection. When i submit the form, if respone is success, i want to change the row value without reload all the grid. Ive tryed chage the store values, but dont see the changes in the grid.

record= store.getAt(row).data;
record.image='12345.jpg';

If i explore the store with firebug, the value really is '12345.jpg', but dont modify the grid.

Excuse my english..... its no long

Thanks

laurentParis
25 Feb 2011, 7:58 AM
try this



record= store.getAt(row);
record.set('image', '12345.jpg');

Nexus3
25 Feb 2011, 8:19 AM
Merci beaucoup laurenParis,

I do it and know works good, now i understand better the record concept...........

Thanks, gracias, merci :-)