Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datatable): Fix updating the header checkbox when there are no ro…
…ws in a datatable This change has two major pieces, one is prioritizing unchecking the header checkbox when there are no selected rows over the selected rows == number of rows comparison. The second is changing |isRowsSelectable| to return true if the header checkbox is present even if the table has no rows. BREAKING CHANGE: Header checkboxes will now be unchecked if layout is called when there are no rows. PiperOrigin-RevId: 329616597
- Loading branch information
1 parent
d3387f5
commit 2ccf996
Showing
4 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters