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
Edit form not updated with recreateForm: false
10/11/2010
10:37
Avatar
queen3
New Member
Members
Forum Posts: 2
Member Since:
09/11/2010
sp_UserOfflineSmall Offline

I got this question answered at http://stackoverflow.com/quest.....35#4138935 and now posting it here, it looks like a bug. Here's a short description.

I can reproduce this on jqGrid example, 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 the symptoms are same that I experience in my project – when I click Submit, the row that was initially open is always overwritten, even in case of Add New Row.

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.

Also, I've just now (with latest Chrome 9.0.x), not sure why, but if I quickly open form to edit row, then first > navigation button changes the form values to match newly selected row (shifted from id 8 to id 7 and I see this change in edit form) - but only once, after that it does not change form values, only selected row.

17/11/2010
18:58
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Sorry, but I can not reproduce this.

As you can see from the name this is only demo and does not cover all user requirments.

Of course if you add record locally it is a good idea to make your own counter when adding grid row.

Kind Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
27 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