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
4.2.0 G.split is not a function error
Tags: 4.2.0
18/10/2011
21:45
Avatar
triley
Ohio
Member
Members
Forum Posts: 6
Member Since:
22/08/2011
sp_UserOfflineSmall Offline

I just downloaded the 4.2.0 version of jqgrid. I am testing with existing code that worked fine under 4.1.2.

When I do a delete (with reloadAfterSubmit: false) I get an error: G.split is not a function (on line 318 of the min file).

24/10/2011
21:16
Avatar
triley
Ohio
Member
Members
Forum Posts: 6
Member Since:
22/08/2011
sp_UserOfflineSmall Offline

Well,

Since I have gotten no response. I was able to fix it myself:

In the min file on line 318:

Change:

     B=G.split(",");

To:

    B=G.toString().split(",");

or in the src file on line 8009 do:

Change:

     toarr=postdata.split(",");

To:

    toarr=postdata.toString().split(",");

27/10/2011
13:39
Avatar
brecht
Member
Members
Forum Posts: 9
Member Since:
11/02/2010
sp_UserOfflineSmall Offline

I just discovered this bug as well, thanks for posting this here.

Someone else opened a ticket: https://github.com/tonytomov/jqGrid/issues/192

I hope that Tony will pick this up.

18/11/2011
20:25
Avatar
Shift4SMS
Las Vegas, NV
Member
Members
Forum Posts: 15
Member Since:
03/12/2010
sp_UserOfflineSmall Offline

Ditto, good job. I wish I had found this post a couple hours ago!

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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