The workaround of making the selected row border two pixels wide takes advantage of the fact that the row with the wider border settings takes precedence in a shared border situation (http://www.w3.org/TR/CSS21/tables.html# ... resolution). However, this workaround has the side-effect of a "shaky table" (the table size changes as rows are highlighted).
An alternate workaround, which removes the "shaky table" effect, is to not collapse the borders. This makes the table borders thicker in general though.
Code: Select all
.ui-datatable table {
border-collapse: separate;
border-space: 0;
}