-
Notifications
You must be signed in to change notification settings - Fork 18
feat: DH-21841: Add a way to set table sort state from ui.table.
#1358
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
Merged
mofojed
merged 14 commits into
main
from
feat-DH-21841-Add-a-way-to-set-table-sort-state-from-`ui.table`-
Jun 25, 2026
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
03a7efd
feat: DH-21841: Add a way to set table sort state from `ui.table`.
SimonVutov 2bb7eff
add docs
SimonVutov c953fc3
docs fix
SimonVutov d87abcb
sort sets only initial state, user can sort after
SimonVutov 6cfdead
Update table.py
SimonVutov a50d902
add to ui_table.py instead of new file
SimonVutov 5e2a469
pre-commit run --all-files
SimonVutov 2cc451a
add snapshot
SimonVutov 09328fb
add order
SimonVutov 39bfb66
Update table.md
SimonVutov c506ea0
generate the 6 missing baseline PNG files for t_programmatic_sort_asc…
SimonVutov 38d278d
fix: able to change the sorts, as a user
SimonVutov 33c1811
eslint
SimonVutov 341c528
fix corrupted baseline images
SimonVutov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
1 change: 1 addition & 0 deletions
1
plugins/ui/docs/snapshots/43147ace5cee510f96e24cc6a3275935.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {"file":"components/table.md","objects":{"data":{"type":"Table","data":{"columns":[{"name":"Name","type":"java.lang.String"},{"name":"Category","type":"java.lang.String"},{"name":"SepalLength","type":"int"}],"rows":[[{"value":"R01"},{"value":"B"},{"value":"51"}],[{"value":"R02"},{"value":"A"},{"value":"-149"}],[{"value":"R03"},{"value":"B"},{"value":"64"}],[{"value":"R04"},{"value":"A"},{"value":"58"}],[{"value":"R05"},{"value":"C"},{"value":"-32"}],[{"value":"R06"},{"value":"C"},{"value":"58"}]]}},"t_mixed_sort_list":{"type":"deephaven.ui.Element","data":{"document":{"__dhElemName":"deephaven.ui.elements.UITable","props":{"table":{"__dhObid":0},"sorts":[{"column":"Category","direction":"ASC","isAbs":false},{"column":"Name","direction":"DESC","isAbs":false},{"column":"SepalLength","direction":"ASC","isAbs":true}],"showQuickFilters":false,"showGroupingColumn":true,"showSearch":false,"reverse":false}},"state":"{}"}},"t_string_sort":{"type":"deephaven.ui.Element","data":{"document":{"__dhElemName":"deephaven.ui.elements.UITable","props":{"table":{"__dhObid":0},"sorts":[{"column":"Name","direction":"ASC","isAbs":false}],"showQuickFilters":false,"showGroupingColumn":true,"showSearch":false,"reverse":false}},"state":"{}"}}}} |
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I'll let Don and Margaret review the docs, but this wording is weird to me and inconsistent with how we describe features (like with Quick filters).