posit-dev / posit-dev/py-shiny
Table output: use selected row as a reaactive input
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 135
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 21
Description
In R Shiny, there are built in controls for selecting a row in a table output. The row index (of the row selected) can be used as an input to trigger other events. How can this functionality (user selected rows on a table) be used in Python Shiny version? Any example would be excellent. thanks in advance
Section 2.1.1 of this R DT manual
2.1.1 Row Selection
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked R DT Section 2.1.1 Row Selection documentation and then inspect the Python Shiny table-output and reactive-input APIs. Confirm how a selected row can trigger another event, and consider the work complete when a clear Python Shiny example documents and demonstrates that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, r
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100