In a Dash datatable, when row_selectable is set to single, there are radio buttons that can be clicked by the user to the left of the table. Is it possible to reselect these radio buttons programmatically with a callback (for example, a next button that indexes the user through the rows)?
Hm, it is not working for me. I can set the index, but the rows stay visibly unselected. I wonder if I am missing some settings in the datatable configuration?
ws_table = html.Div(id='ws-table-container',
style={'minHeight': 100, 'margin': '5%'},
children=[
DataTable(id='ws-table',
columns=[ {"name": i, "id": i, "selectable": True}
for i in ['Workspace']],
data=[],
row_selectable='single',
row_deletable=False,
style_cell={'textAlign': 'left'},
sort_action='native'
)
])