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

DH-16532: Hide the "Expand row and all children" shortcut if the expandAll function isn't available #1822

Closed
vbabich opened this issue Feb 21, 2024 · 2 comments · Fixed by #1854
Assignees
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@vbabich
Copy link
Collaborator

vbabich commented Feb 21, 2024

Legacy tree tables don’t have the JsTreeTable.expandAll function. TreeTable row tooltip in IrisGrid should show the shortcut to expand the row and all children conditionally, based on feature availability.
Screenshot 2024-02-21 at 12 52 36 PM

@vbabich vbabich added bug Something isn't working triage Issue requires triage good first issue Good for newcomers and removed triage Issue requires triage labels Feb 21, 2024
@vbabich vbabich added this to the March 2024 milestone Feb 27, 2024
@mofojed
Copy link
Member

mofojed commented Feb 29, 2024

Should just not show that text if !model.isExpandAllAvailable

@mofojed
Copy link
Member

mofojed commented Feb 29, 2024

Create a tree table using a snippet from the docs: https://deephaven.io/core/docs/reference/cheat-sheets/cheat-sheet/#tree-tables

from deephaven.constants import NULL_INT
from deephaven import empty_table

source = empty_table(100).update_view(["ID = i", "Parent = i == 0 ? NULL_INT : (int)(i / 4)"])

result = source.tree(id_col="ID", parent_col="Parent")

wusteven815 added a commit that referenced this issue Mar 8, 2024
- Fix #1822 
  - Add a check for `isExpandAllAvailable` to render the list on the
tooltip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants