Forum

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

Search Forums:


 






jqgrid 4.3.2 bug when field is requried

UserPost

11:04
24/04/2012


zajc

Member

posts 3

Some fileds are set:

editrules: { required: true }

Everything works fine in 4.3.1. After 4.3.2 when I'm editing or adding rows it shows the following error:

Uncaught TypeError: Object #<HTMLTableElement> has no method 'isEmpty'    jquery.jqGrid.min.js:252

If we comment, it works.

editrules: { //required: true }

19:16
25/04/2012


domesticllama

New Member

posts 1

I get the same issue.

22:41
26/04/2012


OlegK

Germany

Member

posts 1210

Post edited 09:53 – 27/04/2012 by OlegK
Post edited 10:03 – 27/04/2012 by OlegK


Hello!

The reason on the problem seems to me the last changes where the value of this are changed in the calls of checkValues and createEl. To fix the problem one should change this.isEmpty to $.jgrid.isEmpty (inside of checkTime and checkValues) and to change this.info_dialog to $.jgrid.info_dialog (inside of createEl). Additionaly one should change this.checkDate and this.checkTime inside of checkValues method to $.jgrid.checkDate and $.jgrid.checkTime

Best regards
Oleg

P.S. See the demo from the answer where I used the modified version of jquery.jqGrid.src.js (see here).

16:45
14/05/2012


sekhar.raja

New Member

posts 2

I have recently upgraded my project jqgrid source for a bug on subgrid, because of the upgrade the same issue is occoured to me as well. Is there any official release planned which can solve many of our problems?

17:53
15/05/2012


brandonkirsch

Ohio

Member

posts 9

Thank you Oleg for the solution to this problem!


About the jQuery Grid Plugin – jqGrid forum

Most Users Ever Online:

215


Currently Online:

44 Guests

Forum Stats:

Groups: 1

Forums: 7

Topics: 10272

Posts: 30351

Membership:

There are 11037 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