Skip to content

Commit

Permalink
Fixed primefaces#967 - Datatable rowGroup with rowSpan mode: row sepa…
Browse files Browse the repository at this point in the history
…rator line style on group break
  • Loading branch information
mertsincan committed Jul 24, 2019
1 parent a9ab447 commit 3661818
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/datatable/BodyRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,13 @@ export class BodyRow extends Component {
let rowSpan;
if(hasRowSpanGrouping) {
if(this.props.sortField === column.props.field) {
if(this.props.groupRowSpan)
if(this.props.groupRowSpan) {
rowSpan = this.props.groupRowSpan;
else
className += ' p-datatable-rowspan-group'
}
else {
continue;
}
}
}

Expand Down

0 comments on commit 3661818

Please sign in to comment.