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 Related Topics
jqgrid 4.3.2 bug when field is requried
24/04/2012
11:04
zajc
Member
Forum Posts: 4
Member Since:
24/04/2012
Offline

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 }
25/04/2012
19:16
domesticllama
New Member
Forum Posts: 1
Member Since:
25/04/2012
Offline

I get the same issue.

26/04/2012
22:41
OlegK
Germany
Member
Forum Posts: 1233
Member Since:
10/08/2009
Offline

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).

14/05/2012
16:45
sekhar.raja
New Member
Forum Posts: 2
Member Since:
03/10/2011
Offline

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?

15/05/2012
17:53
brandonkirsch
Ohio
Member
Forum Posts: 9
Member Since:
27/04/2012
Offline

Thank you Oleg for the solution to this problem!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 215

Currently Online:
40 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: 11320

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10527

Posts: 31121

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

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

Administrators: admin: 61

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information