-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"agSetColumnFilter" breaks application #3652
Comments
Hi, It looks like you are using different versions for enterprise, community and the react wrapper. I would recommend upgrading to the latest on all of these so that they are the same version, and see if this fixes your issue. If you still have the issue after you've moved all the ag-grid includes to use the same (latest) version, please provide a reproducible scenario using one of our examples or your source code in a plunker and we will investigate? Accepted reproducible scenarios are
If you decide to send us a plunkr, from any example in our website use the plunkr button in there to fork your own code by following the steps below:
If reporting a bug make sure to state. Actual behaviour. Note that this issue is getting closed, but you are welcomed to create a new issue if you can provide us with a reproducible scenario If you are an ag-Grid Enterprise Customer, please raise this in our Zendesk support system - contact info@ag-grid.com for access. This is our primary channel for Support. |
I'm submitting a ... (check one with "x")
Current behavior
I tried changing the filtering on my grid to use "agSetColumnFilter" but that lead to this error:
TypeError: Object prototype may only be an Object or null: undefined next-server.js:67 message:"Object prototype may only be an Object or null: undefined" stack:"TypeError: Object prototype may only be an Object or null: undefined\n at setPrototypeOf (<anonymous>)\n at extendStatics (/Users/me/code/bextools/apps/stl/node_modules/ag-grid-enterprise/dist/lib/setFilter/setFilter.js:8:16)\n at __extends (/Users/me/code/bextools/apps/stl/node_modules/ag-grid-enterprise/dist/lib/setFilter/setFilter.js:11:9)\n at /Users/me/code/bextools/apps/stl/node_modules/ag-grid-enterprise/dist/lib/setFilter/setFilter.js:37:5\n at Object.<anonymous> (/Users/me/code/bextools/apps/stl/node_modules/ag-grid-enterprise/dist/lib/setFilter/setFilter.js:343:2)\n at Module._compile (internal/modules/cjs/loader.js:959:30)\n at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)\n at Module.load (internal/modules/cjs/loader.js:815:32)\n at Function.Module._load (internal/modules/cjs/loader.js:727:14)\n at Module.require (internal/modules/cjs/loader.js:852:19)\n at require (internal/modules/cjs/helpers.js:74:18)\n at Object.<anon...
Expected behavior
I thought it would enable excel like filtering
Please tell us about your environment:
MacOSx
ag-Grid version: X.X.X
ag-grid-community ^20.1.0
ag-grid-enterprise 21.1.0
ag-grid-react ^20.1.1
Browser:
Chrome
Language: [all | TypeScript 3 | ES6/7]
The text was updated successfully, but these errors were encountered: