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

ui.table Layout hints #442

Closed
4 tasks
Tracked by #77
mofojed opened this issue Apr 29, 2024 · 0 comments · Fixed by #587
Closed
4 tasks
Tracked by #77

ui.table Layout hints #442

mofojed opened this issue Apr 29, 2024 · 0 comments · Fixed by #587
Assignees

Comments

@mofojed
Copy link
Member

mofojed commented Apr 29, 2024

  • Design spec
  • Freezing columns
  • Column groups
  • Column formatting

Focus on the most frequently asked for features: #50 (comment)

@mofojed mofojed mentioned this issue Apr 29, 2024
20 tasks
@mofojed mofojed changed the title Layout hints ui.table Layout hints Apr 29, 2024
mofojed pushed a commit that referenced this issue Jul 9, 2024
Fixes #442

The layout hints will only be used as the initial state. Not sure how
we'd want to try to combine a change in `ui.table` from the server w/
other changes the user may have made already. At least initially I think
this is fine to give the same functionality as current
`table.layout_hints`

```py
from deephaven import ui
from deephaven.plot import express as dx

_stocks = dx.data.stocks()

stocks_with_hints = ui.table(
    _stocks,
    front_columns=["exchange"],
    frozen_columns=["sym"],
    back_columns=['side'],
    hidden_columns=['dollars', 'SPet500'],
    column_groups=[{"name": "test_group", "children": ["size", "random"], "color": "lemonchiffon"}]
)
```
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 a pull request may close this issue.

2 participants