-
Notifications
You must be signed in to change notification settings - Fork 31
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
Picker + ListView - icon_column
#1890
Closed
bmingles opened this issue
Mar 21, 2024
· 0 comments
· Fixed by #1959 or deephaven/deephaven-core#5439
Closed
Picker + ListView - icon_column
#1890
bmingles opened this issue
Mar 21, 2024
· 0 comments
· Fixed by #1959 or deephaven/deephaven-core#5439
Comments
mofojed
changed the title
Picker - description_column
Picker - Mar 27, 2024
description_column
and icon_column
bmingles
changed the title
Picker -
Picker + ListView - Apr 2, 2024
description_column
and icon_column
description_column
and icon_column
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 12, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 12, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 12, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 12, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 15, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 15, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 16, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 19, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 19, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 19, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 19, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 19, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 19, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 19, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 23, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 23, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 23, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 23, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 23, 2024
bmingles
changed the title
Picker + ListView -
Picker + ListView - Apr 23, 2024
description_column
and icon_column
icon_column
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 23, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 23, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 23, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 29, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 30, 2024
bmingles
added a commit
to bmingles/web-client-ui
that referenced
this issue
Apr 30, 2024
bmingles
added a commit
that referenced
this issue
May 1, 2024
This example shows both basic and table data sources. ```python import deephaven.ui as ui @ui.component def ui_list_view(): value, set_value = ui.use_state(["Text 2"]) text = ui.text("Selection: " + ", ".join(map(str, value)), grid_column="span 2") # list_view with text children lv = ui.list_view( "Text 1", "Text 2", "Text 3", # min_height=1, aria_label="List View", on_change=set_value, selected_keys=value, ) # list_view with item children lv2 = ui.list_view( ui.item("Item 1", key="Text 1"), ui.item("Item 2", key="Text 2"), ui.item("Item 3", key="Text 3"), aria_label="List View 2", on_change=set_value, selected_keys=value, ) return ui.grid( text, lv, lv2, columns="repeat(2, 1fr)", rows="min-content", height="100%" ) lv = ui_list_view() #################################### import deephaven.ui as ui from deephaven import time_table import datetime icon_names = ['vsAccount'] # Ticking table with initial row count of 200 that adds a row every second initial_row_count=2000 columns = [ "Id=new Integer(i)", "Display=new String(`Display `+i)", "Description=new String(`Description `+i)", "Icon=(String) icon_names[0]" ] # column_types_ticking = time_table("PT1S", start_time=datetime.datetime.now() - datetime.timedelta(seconds=initial_row_count)).update([ # columns # ) column_types = empty_table(initial_row_count).update(columns) @ui.component def labeled_lv(label, *args, **kwargs): return ui.flex( ui.text(label), ui.list_view( *args, **kwargs ), direction="column", flex=1, min_width=0, ) @ui.component def ui_list_view_table(): value, set_value = ui.use_state([2, 4, 5]) lv = labeled_lv( "Compact", column_types, max_height=5000, density="compact", key_column="Id", label_column="Display", icon_column="Icon", aria_label="List View", on_change=set_value, selected_keys=value, ) lv2 = labeled_lv( "Regular", column_types, max_height=5000, density="regular", key_column="Id", label_column="Display", icon_column="Icon", aria_label="List View 2", on_change=set_value, selected_keys=value, ) lv3 = labeled_lv( "Spacious", column_types, max_height=5000, density="spacious", key_column="Id", label_column="Display", icon_column="Icon", aria_label="List View 3", on_change=set_value, selected_keys=value, ) text = ui.text("Selection: " + ", ".join(map(str, value))) return ui.flex( ui.flex( lv, lv2, lv3, direction="row", gap=10, ), text, direction="column", ) lv_table = ui_list_view_table() ``` resolves #1890 --------- Co-authored-by: Don McKenzie <donmckenzie@deephaven.io>
mofojed
pushed a commit
to deephaven/deephaven-core
that referenced
this issue
May 1, 2024
Release notes https://github.com/deephaven/web-client-ui/releases/tag/v0.75.0 # [0.75.0](deephaven/web-client-ui@v0.74.0...v0.75.0) (2024-05-01) ### Bug Fixes * change fira source ([#1944](deephaven/web-client-ui#1944)) ([07e5a26](deephaven/web-client-ui@07e5a26)), closes [#1902](deephaven/web-client-ui#1902) * Fix null partition filter ([#1954](deephaven/web-client-ui#1954)) ([3a1f92b](deephaven/web-client-ui@3a1f92b)), closes [#1867](deephaven/web-client-ui#1867) ### Features * context menu reopen for stack only ([#1932](deephaven/web-client-ui#1932)) ([6a9a6a4](deephaven/web-client-ui@6a9a6a4)), closes [#1931](deephaven/web-client-ui#1931) * Create an ErrorView that can be used to display errors ([#1965](deephaven/web-client-ui#1965)) ([65ef1a7](deephaven/web-client-ui@65ef1a7)) * ListView + Picker - Item icon support ([#1959](deephaven/web-client-ui#1959)) ([cb13c60](deephaven/web-client-ui@cb13c60)), closes [#1890](deephaven/web-client-ui#1890) * Picker - initial scroll position ([#1942](deephaven/web-client-ui#1942)) ([5f49761](deephaven/web-client-ui@5f49761)), closes [#1890](deephaven/web-client-ui#1890) [#1935](deephaven/web-client-ui#1935) Co-authored-by: deephaven-internal <66694643+deephaven-internal@users.noreply.github.com>
stanbrub
pushed a commit
to deephaven/deephaven-core
that referenced
this issue
May 3, 2024
Release notes https://github.com/deephaven/web-client-ui/releases/tag/v0.75.0 # [0.75.0](deephaven/web-client-ui@v0.74.0...v0.75.0) (2024-05-01) ### Bug Fixes * change fira source ([#1944](deephaven/web-client-ui#1944)) ([07e5a26](deephaven/web-client-ui@07e5a26)), closes [#1902](deephaven/web-client-ui#1902) * Fix null partition filter ([#1954](deephaven/web-client-ui#1954)) ([3a1f92b](deephaven/web-client-ui@3a1f92b)), closes [#1867](deephaven/web-client-ui#1867) ### Features * context menu reopen for stack only ([#1932](deephaven/web-client-ui#1932)) ([6a9a6a4](deephaven/web-client-ui@6a9a6a4)), closes [#1931](deephaven/web-client-ui#1931) * Create an ErrorView that can be used to display errors ([#1965](deephaven/web-client-ui#1965)) ([65ef1a7](deephaven/web-client-ui@65ef1a7)) * ListView + Picker - Item icon support ([#1959](deephaven/web-client-ui#1959)) ([cb13c60](deephaven/web-client-ui@cb13c60)), closes [#1890](deephaven/web-client-ui#1890) * Picker - initial scroll position ([#1942](deephaven/web-client-ui#1942)) ([5f49761](deephaven/web-client-ui@5f49761)), closes [#1890](deephaven/web-client-ui#1890) [#1935](deephaven/web-client-ui#1935) Co-authored-by: deephaven-internal <66694643+deephaven-internal@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add support for
icon_column
Icon
nodesDescription column support has been split off into #1958
The text was updated successfully, but these errors were encountered: