Forum

July 10th, 2011
You must be logged in to post Login Register

Search Forums:


 






unreachable code in grid.formedit.js

No Tags
UserPost

14:09
11/01/2013


skubche

Member

posts 4

Found unreachable code in grid.formedit.js!

There is line 7608:


if(rp_ge[$t.p.id].reloadAfterSubmit) {$($t).trigger("reloadGrid");} else {…}

This condition "if(rp_ge[$t.p.id].reloadAfterSubmit)" it always equals TRUE!

Regards

14:21
11/01/2013


OlegK

Germany

Member

posts 1210

reloadAfterSubmit is just an option which default value is true (see the documentation), but one can change it like any other option. Typically one specify the option as part of parameters of navGrid (see an example here).

14:22
11/01/2013


skubche

Member

posts 4

Thanks! Try to change it.

No Tags

About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

215


Currently Online:

58 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 10271

Posts: 30349

Membership:

There are 11036 Members

There have been 448 Guests

There is 1 Admin

There are 2 Moderators

Top Posters:

OlegK – 1210

markw65 – 179

kobruleht – 144

phicarre – 132

YamilBracho – 124

Renso – 118

Administrators: admin (60 Posts)

Moderators: tony (7375 Posts), Rumen[Trirand] (81 Posts)




Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information