ParamQuery grid support forum
General Category => Bug Report => Topic started by: jplevene on January 20, 2026, 06:51:10 pm
-
Another SERIOUS bug has appeared, however it wasn't an issue when v11.1.0 was released.
The newly released jQuery v4.0.0 has REMOVED the depricated $.trim(), $.isFunction() and $.isArray()
This means pqGrid does not work at all with the latest jQuery 4.0.0.
For anybody that needs a temporary fix, add the following after installing jQuery and before pqGrid:
// Make sure $.trim() exists
if(!jQuery.trim) {
jQuery.trim = function(text) {
return text == null ? "" : (text + "").trim();
};
}
// Make sure $.isArray() exists
if(!jQuery.isArray) {
jQuery.isArray = Array.isArray;
}
// Make sure $.isFunction() exists
if(!jQuery.isFunction) {
jQuery.isFunction = function(obj) {
return typeof(obj)==="function";
};
}