Skip to content
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

feat: UI.Table density prop #634

Merged
merged 3 commits into from
Jul 26, 2024
Merged

Conversation

mattrunyon
Copy link
Collaborator

Fixes #559

Relies on deephaven/web-client-ui#2151 and will need a new version to consume for the types.

You can test this without needing an alpha version because @deephaven/iris-grid is an externalized package. Just run the local UI from the web-client-ui PR with the local plugin server

import deephaven.ui as ui
import deephaven.plot.express as dx

stocks = dx.data.stocks()
t_default = ui.table(stocks)
t_normal = ui.table(stocks, density="normal")
t_compact = ui.table(stocks, density="compact")
t_spacious = ui.table(stocks, density="spacious")

@mattrunyon mattrunyon requested a review from mofojed July 17, 2024 03:57
@mattrunyon mattrunyon self-assigned this Jul 17, 2024
@mattrunyon mattrunyon merged commit ec0794b into deephaven:main Jul 26, 2024
14 checks passed
@mattrunyon mattrunyon deleted the ui-table-density branch July 26, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui.table Density
2 participants