Skip to content

Commit

Permalink
Updated README (deephaven#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed May 3, 2024
1 parent be97314 commit 53eb5ed
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions plugins/ui/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ my_picker = ui_picker()
A list view that can be used to create a list of selectable items. Here's a basic example for selecting from a list of string values and displaying the selected key in a text field.

```python
import deephaven.ui as ui
from deephaven import ui


@ui.component
Expand All @@ -271,16 +271,17 @@ def ui_list_view():

text = ui.text("Selection: " + ", ".join(map(str, value)), grid_column="span 2")

return ui.grid(text, lv, lv2, columns="repeat(2, 1fr)")
return ui.grid(
text, lv, lv2, columns="repeat(2, 1fr)", rows="min-content", height="100%"
)


lv = ui_list_view()
```

## ListView (table)
```python
import deephaven.ui as ui
from deephaven import time_table
from deephaven import time_table, ui
import datetime

# Ticking table with initial row count of 200 that adds a row every second
Expand Down

0 comments on commit 53eb5ed

Please sign in to comment.