-
Notifications
You must be signed in to change notification settings - Fork 340
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
[Bug]: sort and page events are not working with Table chart #695
Labels
Comments
ref: https://developers.google.com/chart/interactive/docs/reference#chartwrapperobject {
eventName: "ready",
callback: ({ chartWrapper, google }) => {
console.log("ready event");
const chart = chartWrapper.getChart();
google.visualization.events.addListener(chart, 'page', (params) => {
console.log("params", params);
});
google.visualization.events.addListener(chart, 'sort', (params) => {
console.log("params", params);
});
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would you like to work on a fix?
Current and expected behavior
I'm trying to handle 2 events.
The events are supposed to fire when the action happens. but they are not working as expected.
Reproduction
https://codesandbox.io/s/reverent-panini-3ntox9?file=/App.tsx
react-google-charts version
v4.0.0
Possible solution
No response
The text was updated successfully, but these errors were encountered: