Thank you very much, i used the XLE event and it works.
Now i’m facing another problem which is a bit tricky to explain (occuring only on I.E, i’m using I.E 7).
I’m using AJAX to save the current page of my grid in a cookie (i’m using J2E, so my server side processes are coded in JAVA (actions)):
mygrid.attachEvent(“onPageChanged”, function(ind,fInd,lInd){
var actionUrl = “/web/saveCookieForPaginationValue.do?pageName=”+pageName+"¤tPage="+ind;
var xhr = getXMLHttpRequest(); //this function
xhr.open("GET", actionUrl, true);
xhr.send(null);
});
When i change my page in the grid for the first time, i go through the Java Action Class: the AJAX process is working and i go through my server side process.
However, when i go back into a page where i have already been, i go through the event but i don’t go through the AJAX process, so i can’t change the current page number.
I don’t have this problem with Firefox.
Do you have any tips? I hope i have been clear enough.
correction: “However, when i go back into a page where i have already been, i go through the event but i don’t go through the AJAX process, so i can’t SAVE the current page number.”