Skip to content

Conversation

@BSd3v
Copy link
Collaborator

@BSd3v BSd3v commented Sep 30, 2024

No description provided.

- needed new `dash_ag_grid.useGridFilter`
- needed api update for `filterChangedCallback` deprecation to `onModelChange` and whether or not it is empty to kill `isFilterActive`
@gvwilson gvwilson added feature something new community community contribution P2 considered for next cycle labels Oct 15, 2024
BSd3v added 2 commits March 19, 2025 16:28
# Conflicts:
#	package-lock.json
#	package.json
@BSd3v BSd3v changed the title bump to AG Grid version 32.2 bump to AG Grid version 32.3 Mar 19, 2025
@BSd3v BSd3v linked an issue Apr 10, 2025 that may be closed by this pull request
Comment on lines -36 to +37
"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",
Copy link
Member

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?

Copy link
Collaborator Author

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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's dagfuncs?

Copy link
Collaborator Author

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.

@gvwilson gvwilson requested a review from T4rk1n April 11, 2025 15:22
@ndrezn
Copy link
Member

ndrezn commented Apr 14, 2025

@T4rk1n could you give this a look?

Copy link

@T4rk1n T4rk1n left a 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"
]
}
}
Copy link

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.

export const propTypes = DashAgGrid.propTypes;
export const defaultProps = DashAgGrid.defaultProps;

DashAgGrid.dashRenderType = true;
Copy link

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.

@BSd3v BSd3v merged commit 0f3b00a into plotly:main Apr 15, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community community contribution feature something new P2 considered for next cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

getRowStyle not working through JavaScript functions in asset file

4 participants