diff --git a/src/TableCell.js b/src/TableCell.js index e92f8e7..ef4e628 100644 --- a/src/TableCell.js +++ b/src/TableCell.js @@ -72,7 +72,7 @@ class TableCell extends Component{ render() { const { record, indentSize, clsPrefix, indent, index, expandIcon, column ,fixed,showSum, bodyDisplayInRow,lazyStartIndex,lazyEndIndex} = this.props; - const { dataIndex, render, fieldType, linkConfig } = column; + const { dataIndex, render, fieldType, linkConfig, fontColor, bgColor } = column; let {className = ''} = column; let text = objectPath.get(record, dataIndex); @@ -141,7 +141,7 @@ class TableCell extends Component{ className={className} onClick={this.handleClick} title={title} - + style={{color:fontColor,backgroundColor:bgColor}} > {indentText} {expandIcon}