Forum



01:54

28/05/2010

In a grid, when I click on a row and the edit it everything works fine but only for the first row I click. If I then click on a different row to edit it, the changes will be applied to the first row I edited! What could cause this?
Basically whichever row I click first will be the only row I can edit. All other rows will popup their editing window, filled with the correct data, but when I hit "save" the changes will be applied to whichever row I had first edited. Help?
EDIT: some more info... it seems that one field in my grid is not updating because its value never changes from the first time the edit button is clicked. I have one field that uses:
and myval is simply:
The first time you click a row to edit it myval returns the correct value (let's say it is 9). The next row you click to edit has the correct values except that the myval is still 9 even though it should be the value of that particular row. It seems that myval is set when you click the "submit" button on the form and after that it is set as soon as you click the "edit" button to begin editing.
00:43

10/08/2009

Hi Ricardo!
How you already knows from http://stackoverflow.com/quest.....3 the solution is to use recreateForm: true parameter. I added the answer also in the forum to make other people easy to find solution of the problem.
Best regards
Oleg
Most Users Ever Online: 715
Currently Online:
74 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66