Hallo,we are using Prototype Library bound to “$” and jQuery bound to “$j”. This works like a charm together.Now we are evaluating recent igGrid. Is igGrid using global "$"?Thanks
Hallo
replacing the global vars works pretty well. but there's one question: do i need to replace the jquery template '$'? (eg. "${foo}" )
is the template engine still working if I replace them?
thx.
Hey,
Yep, it is possible using noConflict. We would prefer if the approach above is used in the application code, as compared to the framework code.
Thanks for the feedback.
Angel
So I just played with your global definitions and experienced, that it is possible to use your controls with prototype and jQuery in noConflict mode.
We now bind your controls scripts to
// Inspired by base2 and Prototype /*global xyz */ /*global ClassIG */ /*global defineIG*/ /*global jQuery,$j*/
not experiencing any problems by now. I search & replaced all "$", "Class" and "define".
So you maybe change your global definitions in the future to be compatible to Prototype. There's also a nice way to use jQuery "inline".
jQuery.noConflict();(function($) { $(function() { // more code using $ as alias to jQuery });})(jQuery);// other code using $ as an alias to the other library
We try it that way now and I will tell you our experiences in some days. Thanks.
Thx for your answer.
is there a way to use ig with jQuery in noConflict mode?
Hello,
The igGrid as well as all of the controls in the toolbox rely on $ defined as being jQuery.