[Table / Table Row] Programmatically setting selected
on Table Rows does not update Table's selection UI
#11142
Labels
0 - new
New issues that need assignment.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
c-table
Issues that pertain to the calcite-table and related components
Calcite (design)
Issues logged by Calcite designers.
calcite-components
Issues specific to the @esri/calcite-components package.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Actual Behavior
When programmatically selecting or deselecting Table Rows - the Table "selection UI" will not update (the counts shown in Chips, or the "select all" icon / cell in the Table until the component is interacted with and a re-render occurs.
Expected Behavior
I'd expect the Table to update when Table Row's
selected
state is updated programmatically.Reproduction Sample
https://codepen.io/mac_and_cheese/pen/mybwRNV?editors=1000
Reproduction Steps
Reproduction Version
2.13.2
Relevant Info
No response
Regression?
No response
Priority impact
impact - p2 - want for an upcoming milestone
Impact
A workaround is to "reset" the
selectionMode
property programmatically which will cause a re-render, and the counts and display to update correctly.Calcite package
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: