changedColumn gets the value instead of column name on onFilterChange event
See original GitHub issueWhen the filter is changed and according to the parameter name, changedColumn
should be the name of the column to be filtered, instead, I’m getting the value of the column to be filtered.
Expected Behavior
changedColumn
should get the column name to be filtered instead.
Current Behavior
changedColumn
is getting the value to be filtered.
Steps to Reproduce (for bugs)
I didn’t do too much to repro it, just add the event onFilterChange
and a console.log(changedColumn, filterList)
and that’s it.
onFilterChange: (changedColumn, filterList) => {
console.log(changedColumn, filterList)
}
Your Environment
Tech | Version |
---|---|
Material-UI | ^3.9.2 |
MUI-datatables | ^2.0.0-beta.56 |
React | ^16.8.1 |
browser | Chrome Version 72.0.3626.121 |
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How to get the column name on clearing the filter in AGGRID?
For that I need the column name. onFilterChanged: function(event){ var newObj = {} newObj = gridOptions.api.getFilterModel ...
Read more >Filter dropdown with a column name equal to the va...
Hi All, I am having a weird issue filtering dropdown based on value from another dropdown. Basically I have 2 SharePoint lists with...
Read more >Mui-dt NPM | npm.io
MUI-DT is a data tables component built on Material-UI. It comes with features like filtering, resizable + view/hide columns, search, export to CSV...
Read more >Grid Events - JavaScript Data Grid
The name of the callback is constructed by prefixing the event name with on . ... Value has changed after editing (this event...
Read more >Refresh breaks due to COLUMN NAME CHANGES? 3 ways to ...
A simple Power BI column name change in the data source can break a power query refresh. It can be really frustrating that...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, that makes sense, the PR has not been merged yet.
Closing this issue as it should have been resolved by the PR referenced here, and is a part of the release made shortly afterwards.