cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoSuchFieldException: isAutoRefresh in class: iGridComponent

Former Member
0 Kudos

Hi to all,

does anybody know a solution for this error?

java.lang.NoSuchFieldException: isAutoRefresh in class: iGridComponent

The idea of the code is to set AutoRefresh to u201Cfalseu201D, if it is u201Ctrueu201D.

Example:

if (document.getElementById('myApplet').getGridObject().isAutoRefresh == true){

document.getElementById('myApplet').getGridObject().setAutoRefresh(false);}

We updated the JRE to 1.6 Update 14 (Build 1.6.0_14-b08). Since then we have this error.

MII Version 12.0.5 Build (126).

IE Version: 7.0.6002.18005

Regards,

Simone

Accepted Solutions (1)

Accepted Solutions (1)

jcgood25
Active Contributor
0 Kudos

Did you use the script assistant tool to help with the JavaScript?

document.iGrid.getGridObject().isAutoRefresh();

Looks like you just need the ending parenthesis.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jemery,

yes! That was the very easy solution.

I didn't recognize it because it worked for a long time though it wasn't correct...

Thank you very much.

Regards, Simone