You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: DOC-759: warnings when building deephaven UI docs (#1182)
Fixes Doc-759.
Resolves indentation and block quote formatting issues in the UI docs.
Also, removes references to `selection` and `thread` in the API
reference to prevent build warnings as modules are not defined.
Copy file name to clipboardExpand all lines: plugins/ui/src/deephaven/ui/components/list_view.py
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,7 @@ def list_view(
103
103
) ->ListViewElement:
104
104
"""
105
105
A list view that can be used to create a list of items. Children should be one of three types:
106
+
106
107
1. If children are of type `Item`, they are the list items.
107
108
2. If children are of type `Table`, the values in the table are the list items.
108
109
There can only be one child, the `Table`.
@@ -120,21 +121,21 @@ def list_view(
120
121
overflow_mode: The behaviour of the text when it overflows the cell.
121
122
render_empty_state: Sets what the `list_view` should render when there is no content to display.
122
123
disabled_behavior: Whether disabled_keys applies to all interactions or just selection.
123
-
disabled_keys: The keys that should be disabled. These cannot be selected, focused, or interacted with
124
+
disabled_keys: The keys that should be disabled. These cannot be selected, focused, or interacted with.
124
125
selection_mode: By default `"MULTIPLE"`, which allows multiple selection. May also be `"SINGLE"` to allow only single selection, or `"None"`/`None` to allow no selection.
125
126
disallow_empty_selection: Whether the ListView should disallow empty selection.
126
127
selected_keys: The currently selected keys in the collection (controlled).
127
128
default_selected_keys: The initial selected keys in the collection (uncontrolled).
128
129
selection_style: How the selection should be displayed.
129
130
on_action: Handler that is called when the user performs an action on an item. The user event depends on the collection's selection_style and interaction modality.
130
131
on_change: Handler that is called when the selection changes.
131
-
on_selection_change: Deprecated. Use on_change instead.Handler that is called when the selection changes.
132
+
on_selection_change: Deprecated. Use on_change instead.Handler that is called when the selection changes.
132
133
flex: When used in a flex layout, specifies how the element will grow or shrink to fit the space available.
133
134
flex_grow: When used in a flex layout, specifies how the element will grow to fit the space available.
134
135
flex_shrink: When used in a flex layout, specifies how the element will shrink to fit the space available.
135
136
flex_basis: When used in a flex layout, specifies the initial main size of the element.
136
137
align_self: Overrides the alignItems property of a flex or grid container.
137
-
justify_self: Species how the element is justified inside a flex or grid container.
138
+
justify_self: Specifies how the element is justified inside a flex or grid container.
138
139
order: The layout order for the element within a flex or grid container.
139
140
grid_area: When used in a grid layout, specifies the named grid area that the element should be placed in within the grid.
140
141
grid_row: When used in a grid layout, specifies the row the element should be placed in within the grid.
@@ -163,7 +164,7 @@ def list_view(
163
164
right: The right position of the element.
164
165
start: The logical start position of the element, depending on layout direction.
165
166
end: The logical end position of the element, depending on layout direction.
166
-
z_index: The stacking order for the element
167
+
z_index: The stacking order for the element.
167
168
is_hidden: Hides the element.
168
169
id: The unique identifier of the element.
169
170
aria_label: Defines a string value that labels the current element.
0 commit comments