When I open form to edit values:
It doesn't change form values when I navigate with
<>
buttonsIt opens New form with same values as first edited row, and when I click
"Submit"
, it overwrites that row instead of creating a new itemWhen I click to edit another row, it always shows the form values for the first edited row – i.e. if I click New first and then edit row, it shows empty form.
So, in short, the first time form opens, the values are "stuck" whatever row I open later.
What can cause this? I remember it used to work OK some time ago.
UPDATE:
No with recreateForm I don't have this issue (I use it as temporary workaround).
Hm, I can reproduce this on jqGrid example, but not on Live Manipulation - on New in Version 3.7, Add/edit/delete
on local data
:
- Click any row and edit it (open form)
- Close form
- Select any other row and click edit - form shows incorrect values (from the row that was opened first)
- Click Add new row button in toolbar - form shows same values - which is very convenient, usually new rows are "almost" same - if only it would add new row, not update the existing one!
Of course in live demo Submit
doesn't do that (it doesn't seem to work at all) but except for this symptoms are same.
Also <>
buttons do not change data in form, though they change selected row - but from what I remember previously it used to update form values also to match selected row.