英文:
Is there an interactive table widget for Shiny for python that calls back selected rows?
问题
我正在使用reactable、Datatable或rhandsontable在R Shiny中显示交互式表格,并作为用户选择行的输入。鉴于R中有一些用于此目的的包,我认为Python中应该有更多用于从交互式表格中选择行的库,然而我尚未找到一个。请告诉我是否存在这样的库。
英文:
I'm using reactable, Datatable or rhandsontable in R Shiny to display an interactive table and as a user input for selecting rows. Given there are a few packages for doing this in R, I thought there would be even more libraries in python for selecting rows from an interactive table - however I haven't found one yet. Please let me know if one exists.
答案1
得分: 1
I also love the way Datatable works for shiny R, and have been searching for an equivalent in shiny Python.
The latest release of shiny Python (0.4) has a new feature "data grid / data table" that looks promising!
Here are the links to the release announcement and the API documentation:
https://shiny.posit.co/blog/posts/shiny-python-0.4.0/
https://shiny.posit.co/py/api/render.DataTable.html
They show an example of getting the selected rows in a callback (as you asked)
Hope this helps
英文:
I also love the way Datatable works for shiny R, and have been searching for an equivalent in shiny Python.
The latest release of shiny Python (0.4) has a new feature "data grid / data table" that looks promising !
Here are the links to the release announcement and the API documentation:
https://shiny.posit.co/blog/posts/shiny-python-0.4.0/
https://shiny.posit.co/py/api/render.DataTable.html
They show an example of getting the selected rows in a callback (as you asked)
Hope this helps
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论