You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unable to set selection for DataTable with custom action settings #3030
When the DataTable is created with "native" filter_action, sort_action and page_action the selection can be changed
by the selected_rows property, but when these action properties are set to "custom", setting the selected_rows
applies for a very brief moment but is then cleared.
The issue is specifically triggered when selected_rows is combined with sort_by.
Here is a small sample that demonstrates the issue:
Activity
Francisc0C commentedon Mar 9, 2026
Hi! I’m going to work on fixing this bug. Could I please be assigned to the issue?
Fix plotly#3030: Selection for DataTable cleared with custom action s…
Fix plotly#3030: Selection for DataTable cleared with custom action s…
Fix plotly#3030: Selection for DataTable cleared with custom action s…
Fix plotly#3030: Selection for DataTable cleared with custom action s…
Fix plotly#3030: Selection for DataTable cleared with custom action s…
Fix plotly#3030: Apply suggestion from @AnnMarieW
Fix plotly#3030: Selection for DataTable cleared with custom action s…
Fix plotly#3030: Apply suggestion from @AnnMarieW
Fix plotly#3030: Apply suggestion from @AnnMarieW
Fix plotly#3030: Add changelog entry
Fix plotly#3030: Add changelog entry
Merge pull request #3669 from Francisc0C/dev