fix(data-table): include border style for non-expandable rows (#864)

* fix(data-table): include border style for non-expandable rows

Fixes #861

* docs(data-table): use batchExpansion for non-expandable rows example [ci skip]
This commit is contained in:
Eric Liu 2021-10-20 10:02:10 -07:00 committed by GitHub
commit c64075acbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -345,7 +345,8 @@
<TableCell
class="bx--table-expand"
headers="expand"
data-previous-value="{expandedRows[row.id]
data-previous-value="{!nonExpandableRowIds.includes(row.id) &&
expandedRows[row.id]
? 'collapsed'
: undefined}"
>