There is no direct translation needed for code-related content.

huangapple go评论79阅读模式
英文:

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

huangapple
  • 本文由 发表于 2023年6月29日 15:46:04
  • 转载请务必保留本文链接:https://go.coder-hub.com/76579007.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定