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_Related Related Topics sp_TopicIcon
Row cannot re-saved if error occurs in inline editing
16/05/2011
19:34
Avatar
kobruleht
Member
Members
Forum Posts: 144
Member Since:
05/05/2011
sp_UserOfflineSmall Offline

Steps to reproduce:

1. In inline editing change make some change which causes server to return 4xx error code.

2. Correct the error and try to save again.

Observed:

Enter key is ignored. Changed data is lost. As notid in other thread probably Enter key binding is removed also if error has returned from server call.

Notes

This issue is described also in

/blog/?page_id=393&forum=1&topic=5672&watch=user
/blog/?page_id=393/help/ajax-validation-while-saving-an-inline-edit/

https://github.com/tonytomov/jqGrid/blob/master/js/grid.inlinedit.js

show two different names:

line 23 and 103 :

"restoreAfterErorr" : true

line 250:

if(o.restoreAfterError === true) {

I tried to use

function errorfunc(rowid, response) {
restoreAfterError = false;
restoreAfterErorr = false;
grid.restoreAfterError = false;
grid.restoreAfterErorr = false;
alert(response.responseText);
return true;
}

After error messagebox is shown but Enter key will not work. How to allow Enter key to save again after error ?

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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