Skip to content
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

selectedRanges for TablePlugins do not update when selection is changed #2274

Open
mofojed opened this issue Oct 29, 2024 · 0 comments
Open
Labels
bug Something isn't working
Milestone

Comments

@mofojed
Copy link
Member

mofojed commented Oct 29, 2024

Description

If you create a TablePlugin that listens to selectedRange, it does not update reactively and is just []. Also, panel is no longer passed through. See https://github.com/deephaven/web-client-ui/pull/2181/files which added these props back, but didn't add panel back.
By just passing through this.irisGrid.current?.state.selectedRanges, it's not re-rendering the plugin when the selected ranges is actually changed:

selectedRanges={this.irisGrid.current?.state.selectedRanges}

@mofojed mofojed added bug Something isn't working triage Issue requires triage labels Oct 29, 2024
@vbabich vbabich added this to the Backlog milestone Nov 5, 2024
@vbabich vbabich removed the triage Issue requires triage label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants