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

Cannot expand rows after applying a rollup to tables wrapped with ui.table #1079

Open
mofojed opened this issue Jan 13, 2025 · 0 comments
Open
Labels
bug Something isn't working triage

Comments

@mofojed
Copy link
Member

mofojed commented Jan 13, 2025

Description
If you display a table wrapped with ui.table and then apply a rollup to it, you cannot expand the rows of data.

Steps to reproduce

  1. Create a table wrapped in a ui.table, e.g.:
from deephaven import empty_table, ui

t1 = empty_table(100).update(["x=i", "y=i%3"])
t2 = ui.table(t1)
  1. In the menu for table t2, select Rollup Rows and add y as a rollup grouping
  2. Attempt to expand one of the rows

Expected results
3. The row should expand

Actual results
3. The row does not expand. An error is outputted to the logs:

react-dom.production.min.js:101 Uncaught TypeError: this.table.setExpanded is not a function
    at Proxy.setRowExpanded (IrisGridTreeTableModel.js:242:18)
    at I.toggleRowExpanded (Grid.js:428:13)
    at mr.onClick (GridRowTreeMouseHandler.js:50:14)
    at I.handleClick (Grid.js:1434:24)
    at Object.jnt (react-dom.production.min.js:52:317)
    at Hnt (react-dom.production.min.js:52:471)
    at Knt (react-dom.production.min.js:53:35)
    at kme (react-dom.production.min.js:100:68)
    at Dxe (react-dom.production.min.js:101:380)
    at react-dom.production.min.js:113:65
    at nxe (react-dom.production.min.js:292:189)
    at Vnt (react-dom.production.min.js:50:57)
    at Axe (react-dom.production.min.js:105:469)
    at ace (react-dom.production.min.js:75:265)
    at ice (react-dom.production.min.js:74:124)
    at e.unstable_runWithPriority (scheduler.production.min.js:18:343)
    at Rg (react-dom.production.min.js:122:325)
    at rxe (react-dom.production.min.js:292:48)
    at ait (react-dom.production.min.js:73:352)

Additional details and attachments
image

Versions

Engine Version: 0.37.1
Web UI Version: 0.99.2
Python Version: 3.12.3
Java Version: 11.0.25
Groovy Version: 3.0.22
Barrage Version: 0.7.2
Browser Name: Chrome 131
User Agent OS: Linux
@deephaven/js-plugin-ui: 0.24.0
@deephaven/js-plugin-plotly-express: 0.12.1
@deephaven/js-plugin-matplotlib: 0.5.0

@mofojed mofojed added bug Something isn't working triage labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

1 participant