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
error in client ediit in ASP MVC and easy solution
10/01/2013
15:53
Avatar
skubche
Member
Members
Forum Posts: 4
Member Since:
10/01/2013
sp_UserOfflineSmall Offline

Hello!

After update to version 4.4.1 client edit stop working correctly.
I explore source code and found this code in file jquery.jqGrid.src.js line 7600:

//rp_ge[$t.p.id].reloadAfterSubmit = rp_ge[$t.p.id].reloadAfterSubmit && $t.p.datatype != "local";
// the action is add
Maybe this comment is failure?
After uncomment this it work correctly!

Thanks!
11/01/2013
13:10
Avatar
skubche
Member
Members
Forum Posts: 4
Member Since:
10/01/2013
sp_UserOfflineSmall Offline

Found this line commenting in GitHub – commit 5e53614

named "Fix reloadAfterSubmit to be executed in case of local datatype"

But i expect in local mode (clent side) that grid woudnt be reloaded after adding row, but instead grid woud be change on client side by script!

if(rp_ge[$t.p.id].reloadAfterSubmit) { $($t).trigger("reloadGrid") } else { /*adding on client side */}

Otherwise there is no way to add a line on client side because reloadAfterSubmit ALWAYS equals true and we never get to code where new line adding on client side by script!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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