Hello everyone,
after downloading Chrome version 109 the Grid filter not working anymore
Below is the error encountered
grid.min.js:21 Uncaught TypeError: Cannot read properties of undefined (reading ‘value’) at t (grid.min.js:21:126133)
Hello.
Thank you for your report.
We already know about this problem and working on it.
I’ll inform you about any possible solution.
We have temporarily fixed the problem changing this function in the file [grid.js]
function onInput(eventSystem, colId, filter, filterObj, e) {
var inputHandler = function () {
var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor); {add this var}
// var val = html_1.isIE() || html_1.isSafari() ? e.target.value : e.path ? e.path[0].value : e.explicitOriginalTarget.value;
var val = html_1.isIE() || html_1.isSafari() || isChrome ? e.target.value : e.path ? e.path[0].value : e.explicitOriginalTarget.value; {add this control → isChrome }
filterObj.value[colId] = val;
eventSystem.fire(types_1.GridEvents.filterChange, [val, colId, filter]);
};
if (filter === “selectFilter”) {
inputHandler();
return;
}
if (inputDelay) {
clearTimeout(inputDelay);
}
inputDelay = setTimeout(inputHandler, 500);
}
Maybe it can be useful!
Hello
We have fixed that problem in the latest (v7.3.14) dhx.Grid update.
You can check it in the online snippets:
Please, download the latest available dhx.Grid build to get that fix.
Thank you for your report.
Best regards.