Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] render.DataGrid and render.DataTable should mention selected rows #980

Open
gadenbuie opened this issue Jan 8, 2024 · 1 comment

Comments

@gadenbuie
Copy link
Collaborator

render.data_frame mentions the {id}_selected_rows() input here https://shiny.posit.co/py/api/render.data_frame.html#row-selection, but neither render.DataGrid now render.DataTable mention this information, making it hard to discover.

Discoverability might be improved by #975, but the documentation for render.DataGrid and render.DataTable should mention how to access selected rows.

@SamEdwardes
Copy link

+1 I came across this today. I think this section of the docs (https://shiny.posit.co/py/api/core/render.data_frame.html#row-selection) should be updated to use the new API (e.g. .data_view(selected=True))

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants