<p>This code is written in jQgrid.js file. however, sometime there is condition which evaluate by below code and sometimes json object. when we use the filters of jqgrid…below code runs an fails, if we use — return JSON.parse(obj), as you suggested earlier. if possible can we have a call?</p><p>//if(eval(match)){results.push(this);}–commented in new version|</p><p>if ($.jgrid.runCode.call($t, match.replace(/this/g, JSON.stringify(this)) ) ) {results.push(this);}</p><p>//opts.alsoResize = eval(‘(‘ + optstest + ‘)’); // the only way that I found to do this</p>
1
opts.alsoResize=$.jgrid.runCode(optstest);
This reply was modified 7 months, 2 weeks ago by FisUserTest.