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_Related Related Topics sp_TopicIcon
jqgrid 4.3.2 bug when field is requried
24/04/2012
11:04
Avatar
zajc
Member
Members
Forum Posts: 4
Member Since:
24/04/2012
sp_UserOfflineSmall 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
Avatar
domesticllama
New Member
Members
Forum Posts: 1
Member Since:
25/04/2012
sp_UserOfflineSmall Offline

I get the same issue.

26/04/2012
22:41
Avatar
OlegK
Germany
Member
Members
Forum Posts: 1255
Member Since:
10/08/2009
sp_UserOfflineSmall 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
Avatar
sekhar.raja
New Member
Members
Forum Posts: 2
Member Since:
03/10/2011
sp_UserOfflineSmall 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
Avatar
brandonkirsch
Ohio
Member
Members
Forum Posts: 9
Member Since:
27/04/2012
sp_UserOfflineSmall Offline

Thank you Oleg for the solution to this problem!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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