-
DescriptionI'm trying to implement itables with Quarto Dashboard. I've been trying to figure it out but I haven't really been able to. Here how I implemented it so far:
This is where filtered_penguins is coming from.
I would like it to be dynamic based on specific filters on dashboard, but when I try to preview the dashboard the table doesn't appear. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks. You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
-
Here is the output from
|
Beta Was this translation helpful? Give feedback.
-
I figured it out after doing some testing. I was able to get it to work with this: ```{python}
#| title: Table
@render.ui
def dataview():
data = filtered_penguins()
return ui.HTML(itables.to_html_datatable(data))
``` |
Beta Was this translation helpful? Give feedback.
I figured it out after doing some testing. I was able to get it to work with this: