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_TopicIcon
IE jgrid is null or not an object
08/10/2008
05:00
Avatar
Larry D
Larry D
Member
Members
Forum Posts: 30
Member Since:
16/09/2008
sp_UserOfflineSmall Offline

I had posted on this thread an error where IE Script Debugger would report:

jgrid is null or not an object.

I since worked out what the problem is. I have two different grids one which allows editing, and one which does not.

The jquery.jqGrid.js file has the setting: { include: true, incfile:’grid.formedit.js’,minfile: …

so the app which does not allow editing will generate the error message in IE SD.

(Note that the app still works, and users without IE SD will not see the error.)

But is there a way around this? How can I run two grid apps with different config settings?

08/10/2008
06:21
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

This is loader bug which does not work in some conditions in IE ans Safari.

See this:

http://www.trirand.com/blog/?p.....393/#p2393

Next week I will publish bug fix release.

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

08/10/2008
07:07
Avatar
Larry D
Larry D
Member
Members
Forum Posts: 30
Member Since:
16/09/2008
sp_UserOfflineSmall Offline

Thanks Tony I will check it out.

On a related theme I think there is a problem with include false: for formedit.

For testing I set this to false but on the non editable grid I then lose the toolbar icons.

This grid just has search and reload but setting the include formedit to false removes the icons and produces an object doesn’t support this property error.

Here’s the nav bar icons.

*******************************
.navGrid(”#pager_today”,{refresh:true,edit:false,add:false,del:false,search:true},
{}, // edit options
{}, // del options
{}, // add options
{width:450,Find:”Search”,sopt:['eq','ne','lt','le','gt','ge','cn']} // search options
);
*******************************

08/10/2008
07:35
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

Of course the navigator is a part from formedit - if you disable the formedit

you can not use the navigator - i.e. navGrid

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

08/10/2008
09:21
Avatar
Larry D
Larry D
Member
Members
Forum Posts: 30
Member Since:
16/09/2008
sp_UserOfflineSmall Offline

So that is a catch 22 situation for grids which are not meant for editing.

* If I disable formedit I can not use the navigator.
* If I enable formedit but disable the edit icon it generates an error message.

I guess I will have to leave the edit icon in place and make all fields edit:false

Cheers.

08/10/2008
09:56
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello,

As of my previous post please wait to the next week. This problemis corrected

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

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