Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Form edit reuses and overwrites previously edited item
09/11/2010
17:54
Avatar
queen3
New Member
Members
Forum Posts: 2
Member Since:
09/11/2010
sp_UserOfflineSmall Offline

When I open form to edit values:

1. It doesn't change form values when I navitage with <> buttons

2. It opens New form with same values as first edited row, and when I click "Submit", it overwrites that row instead of creating a new item

3. When 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…

With recreateForm I don't have this issue (I use it as temporary workaround).

I can reproduce similar thing on jqGrid demos, in New in Version 3.7, Add/edit/delete on local data:

  1. Click any row and edit it (open form)
  2. Close form
  3. Select any other row and click edit - form shows incorrect values (from the row that was opened first)
  4. 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.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
57 Guest(s)

Currently Browsing this Page:
1 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information