Skip to content

Deselect or clear selected rows in Datagrid #743

@ottomorris

Description

@ottomorris

Hi,
Loving shiny for python and the new interactive tables!

In your example:
https://shinylive.io/py/examples/#data-frame-grid

I noticed that you can only deselect rows when selection is "multiple", not when "single". Would it be possible to update so we can deselect rows even when using single?

On a related note, is there a way to programatically update selected rows e.g. if I want to sync two tables so that the equivalent rows are selected when I select a row in one of the tables?

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    data frameRelated to @render.data_frame

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions