Skip to content

Commit

Permalink
Fixed #1085 - Properties of TreeNodes on TreeTable not Working
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Nov 27, 2019
1 parent 3264601 commit 1e5989b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/treetable/TreeTableRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,11 +538,11 @@ export class TreeTableRow extends Component {
className = {...className, ...rowClassName};
}

className = classNames(className);
className = classNames(className, this.props.node.className);

return (
<React.Fragment>
<tr ref={el => this.container = el} tabIndex="0" className={className} onClick={this.onClick} onTouchEnd={this.onTouchEnd} onContextMenu={this.onRightClick} onKeyDown={this.onKeyDown}>{cells}</tr>
<tr ref={el => this.container = el} tabIndex="0" className={className} style={this.props.node.style} onClick={this.onClick} onTouchEnd={this.onTouchEnd} onContextMenu={this.onRightClick} onKeyDown={this.onKeyDown}>{cells}</tr>
{children}
</React.Fragment>
);
Expand Down

0 comments on commit 1e5989b

Please sign in to comment.