Forum

May 22nd, 2014
A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

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

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

Currently Online: theo121
62 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1233

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11319

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10524

Posts: 31113

Newest Members: sheryl.liang@db.com, JuanPC, Loganathan.S, krish, jqGridForStruts, shrat

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

Administrators: admin: 61

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information