$(“#mygrid”).navGrid(“#mypager”, edit:false, add:false, del:false, refresh:false,{},{},{},{top:266,left:200});
Note the use of the pair. If you set only one this will not work.
Regards
Tony
Stefano,
Currently setGridParam can not be used to change the colNames and colModel. This is a missing part of the docs. Always you will become a unexpected results. I will try to do that in next releases.
Regards
Tony
If you use not compressed version in which line is the error?
Hi Ton,
Do you use xmlstring as datatype?
Yes – the top position for booth point to 622 which is not visible try to decrease this
Regards 🙂
Tony
You can send a email to tony at trirand dot com
Thank you
Ragards
Tony
Sorry,
before this piece of code you should write
var xml;
Hi
Could you please exclude temporary autocomplete plugin and the css for this plugin too. Test if all is ok. If all work I will tell you what to do.
Regards
Tony
Hi,
It is not jqGrid related – it is a common problem.
If you use only jQuery and try to make ajax call you will get the same error. Just curious can you replace in jQuery the line
var xml = window.ActiveXObject ? new ActiveXObject(“Microsoft.XMLHTTP”) : new XMLHttpRequest();
with
if (window.XMLHttpRequest){
xml = new XMLHttpRequest();
}else if (window.ActiveXObject){
try {
xml = new ActiveXObject(“Microsoft.XMLHTTP”);
}catch (e){
try{
xml = new ActiveXObject(“Msxml2.XMLHTTP”)
}
catch (e){}
}
}
and see if this will work
Regards
Tony
Hi,
As you say it is general problem. Maybe you use xmlstring. Check this and let me known if all is ok.
http://forums.pcpitstop.com/index.php?showtopic=86765
Regards
Tony
Ok. Send me a zipped code to tony at trirand dot com
I will check it tomorrow
Regards
Tony
If you set url in editRow – this has a high priority from editurl. If you want to play with editurl do not set url in editRow.
I think here is missing something globally.
To reproduce – open the file jquery.jqGrid.js
check that the paths to all modules are correct –
In function jqGridInclude() check
pathtojsfiles variable.
Ensure that grid.base.js is included
How want you to change this dynamically?
Before calling this make you can do
$(“#mygrid”).setGridParam({editurl:’myurl’});
This is true. As of the documentation – fires before initialize the form data.
The purpose of this event is to work with the old values of the form. Since first time there is no such data this event is not executed. Use beforeShow event instead
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top