-
Notifications
You must be signed in to change notification settings - Fork 41
bump to AG Grid version 32.3
#328
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
Conversation
- needed new `dash_ag_grid.useGridFilter` - needed api update for `filterChangedCallback` deprecation to `onModelChange` and whether or not it is empty to kill `isFilterActive`
# Conflicts: # package-lock.json # package.json
| "ag-grid-community": "31.3.4", | ||
| "ag-grid-enterprise": "31.3.4", | ||
| "ag-grid-react": "31.3.4", | ||
| "ag-grid-community": "32.3.4", | ||
| "ag-grid-enterprise": "32.3.4", | ||
| "ag-grid-react": "32.3.4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is retaining the minor and patch versions deliberate? do we want to just update to the latest minor/patch versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we didnt want things to randomly get out of sync.
| export const defaultProps = DashAgGrid.defaultProps; | ||
|
|
||
| var dagfuncs = (window.dash_ag_grid = window.dash_ag_grid || {}); | ||
| dagfuncs.useGridFilter = useGridFilter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's dagfuncs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A way to pass the internal api things to the app developer. For example, this passes useGridFilter to be used in the difference of useImperativeHandler between 31 and 32. This way they can use filters like they were the component developer.
|
@T4rk1n could you give this a look? |
T4rk1n
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃 Looks good.
package.json
Outdated
| "last 7 years and not dead" | ||
| ] | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: missing endline at end of file.
src/lib/components/AgGrid.react.js
Outdated
| export const propTypes = DashAgGrid.propTypes; | ||
| export const defaultProps = DashAgGrid.defaultProps; | ||
|
|
||
| DashAgGrid.dashRenderType = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you could also have added it as a static property on the class.
No description provided.