Skip to content

Commit

Permalink
Refactor #2553
Browse files Browse the repository at this point in the history
  • Loading branch information
mcandu committed Dec 28, 2021
1 parent d99c4c9 commit 0d63772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/datatable/BodyCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ export class BodyCell extends Component {
const editor = this.getColumnProp('editor');
const frozen = this.getColumnProp('frozen');
const value = this.resolveFieldData();
const cellClassName = ObjectUtils.getPropValue(this.props.cellClassName, value, { props: this.props, rowData: this.props.rowData, column: this.props.column });
const cellClassName = ObjectUtils.getPropValue(this.props.cellClassName, value, { props: this.props.tableProps, rowData: this.props.rowData, column: this.props.column });
const className = classNames(this.getColumnProp('bodyClassName'), this.getColumnProp('class'), cellClassName, {
'p-selection-column': selectionMode !== null,
'p-editable-column': editor,
Expand Down

0 comments on commit 0d63772

Please sign in to comment.