How to debug grid on Internet Explorer

QuestionsHow to debug grid on Internet Explorer
Jean-Luc Marmier asked 5 years ago

Hello,

Our grid is working perfectly on Firefox, Chrome, MS Edge, but get stuck on IE (loading message, no data returned).
There is no php error in php log.
How can we debug IE issue ?

Best Regards

Jean-Luc

6 Answers
Abu Ghufran Staff answered 5 years ago

MS Edge contains debugger console shown by pressing F12:

If not resolved, Please tell OS and Browser version details.
Also share screenshot of the issue.

 

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Jean-Luc Marmier answered 5 years ago

Hello,

Internet Explorer11 version: 11.785.16299.0

OS: Windows10

When loading grid, using debugger we get the following error:

SCRIPT600: Invalid target element for this operation.
jquery.jqGrid.min.js (9,32505)

and the grid keep showing ‘Loading’ for ever

the same grid, as already mentioned, runs fine on Edge, Firefox, Chrome.

our critical issue is that ‘official’ browser  for the company is IE 11.

Any idea ?

waiting for a reply.

Kind Regards,

Jean-Luc

Abu Ghufran Staff answered 5 years ago

Hello,

Please check if there is some JS error in IE11 debug console, by pressing F12 -> Console tab.

Another possibility is to add website in compatibility view mode. Refer this:

https://winaero.com/blog/how-to-enable-compatibility-view-in-internet-explorer-11-ie11/

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Jean-Luc Marmier answered 5 years ago

Hello,

We are a bit frustrated.

We already mentioned the error we got from debug console :

SCRIPT600: Invalid target element for this operation.
jquery.jqGrid.min.js (9,32505)

below a print screen of the error, that also occurs in compatibility mode:

View post on imgur.com

Best Regards,

Jean-Luc

Abu Ghufran Staff answered 5 years ago

Hello,

After some research, this seems to be an issue with previous versions of IE.
You can try setting this option in code:

$opt[“gridview”] = false;
$g->set_options($opt);

OR edit lib/inc/jqgrid_dist.php and set:

$grid[“gridview”] = true; to $grid[“gridview”] = false;

Let me know the result.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

2 + 9 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?