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

Support displaying more than one table #47

Open
jjbrosnan opened this issue Aug 2, 2024 · 1 comment
Open

Support displaying more than one table #47

jjbrosnan opened this issue Aug 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jjbrosnan
Copy link

It would be awesome to be able to display tables side-by-side, or in a grid. Something like:

display(DeephavenWidget([t1, t2]) # Default is side-by-side for multiple tables
display(DeephavenWidget([t1, t2], rows=2, cols=1) # Display on top of one another
display(DeephavenWidget([t1, t2, t3, t4], rows=2, cols=2) # Display a 2x2 grid. Ordering top left, top right, bottom left, bottom right?
@jjbrosnan jjbrosnan added the enhancement New feature or request label Aug 2, 2024
@jnumainville
Copy link
Collaborator

This can already be done through deephaven ui and I think that's the way we'll want to do it, but maybe we should add some documentation to this project.

For example:

from deephaven import empty_table
from deephaven_ipywidgets import DeephavenWidget
import deephaven.ui as ui
t = empty_table(1000).update("x=i")
flex_t = ui.flex(t, t)
display(DeephavenWidget(flex_t))
Screenshot 2024-08-05 at 11 43 11 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants