-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ui.table context menu items (#522)
Fixes #321 Here's an example with a context menu item on the row and a sub-menu action item on the header ```py from deephaven import empty_table, time_table, ui @ui.component def my_comp(): t = time_table("PT1S").update(["X=i", "Y=i"]) return ui.table( t, context_items=[{ "title": "Test", "action": lambda d: print(d)}], context_column_header_items=[ { "title": "Header", "actions": [{ "title": "Header-sub", "action": lambda d: print(d)}] } ] ) c = my_comp() ```
- Loading branch information
1 parent
d0e24f4
commit 32d09e8
Showing
11 changed files
with
1,214 additions
and
663 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.