-
Notifications
You must be signed in to change notification settings - Fork 16
fix: DH-19912: Fix AG Grid not opening Pivots when wrapped in AgGrid #1259
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
fix: DH-19912: Fix AG Grid not opening Pivots when wrapped in AgGrid #1259
Conversation
mofojed
commented
Nov 6, 2025
- We should wrap pivot tables in AgGrid for them to work correctly. Should be fixed now.
- We should wrap pivot tables in AgGrid for them to work correctly. Should be fixed now.
mattrunyon
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.
Just curious why not do the widget type check in Python? Seems like both pivot and normal table widgets are handled the same in the modified code. Is there any reason to throw on the client instead of the server?
- You can fetch and pass a table direct into AgGridView if you want to use it
- I think React v18 update makes the initial loading spinner skip, and it didn't used to
| } | ||
| if (!cancelled) { | ||
| log.info('Loaded table', newTable); | ||
| setTable(newTable); | ||
| } |
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.
Since there's no server side validation, you could also end up with a Figure here technically. I think it's the only non-generic widget that would hit this. We weren't checking it before, so I'm indifferent here (there's no type field on table, figure, etc. so you have to feature detect)
- We would count the number of panels before we were waiting for the "Panels" button to be visible, which would sometimes be incorrect if the loading spinner had flashed/disappeared - Just count the number of panels right before we click the "Panels" button - deephaven/web-client-ui#2569 should also fix it from UI side, but this fixes the issue on the deephaven-plugins side