Observable Data Table Cell in ojs cells #12749
Replies: 4 comments 1 reply
-
Best way to know is to try. https://quarto.org/docs/interactive/ Note that from my understanding your view is an IDE feature and not the product of the actual code. |
Beta Was this translation helpful? Give feedback.
-
I didn't know how to try, with Inputs.table() is nice, but Data Cell table is far richer. Thanks for looking |
Beta Was this translation helpful? Give feedback.
-
My understanding is that the Data Table cell is a feature of Observable Notebooks that is separate to Observable Inputs and not part of the standard library, so I think it's unlikely you'll be able to use it out-of-the-box in Quarto. However, you can import objects from Observable Notebooks, and the Observable team prototyped the table in a notebook, so you could use that prototype! They've licensed it ISC, so you're also clear legally to use it in your Quarto doc 😊 It doesn't have much in the way of configuration (especially compared to EDIT: it might not actually be what you're looking for, as it's more about summarising columns than visualising individual data. But check it out anyway! |
Beta Was this translation helpful? Give feedback.
-
Thank you! What i liked from observable table cell where the little filters below each column (and to a lesser extent the histograms). datatables.js is very good for this too and quarto has very good support for that(via R), but given this table will materialize in OJS cells, i would need to use the JS interace to datatable.js |
Beta Was this translation helpful? Give feedback.
-
Description
Hello,
I came across DataTable Cells in Observable notebooks (see [1]) and it's very nice! I was thinking I could load a parquet file and display it in a DataTable Cell.
Is such a thing possible? The examples see are like
viewof table = Inputs.table(tablenam)
butInputs.table
is not as feature rich as Data-Table cells.thanks much
Saptarshi
[1] https://observablehq.com/documentation/cells/data-table
Beta Was this translation helpful? Give feedback.
All reactions