Skip to content

Commit

Permalink
Push column argument to cell's customRender function call.
Browse files Browse the repository at this point in the history
  • Loading branch information
Valeriy Eisele committed Dec 4, 2019
1 parent b2717bc commit 45da6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/vc-table/src/TableCell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default {
let rowSpan;

if (customRender) {
text = customRender(text, record, index);
text = customRender(text, record, index, column);
if (isInvalidRenderCellText(text)) {
tdProps.attrs = text.attrs || {};
tdProps.props = text.props || {};
Expand Down

0 comments on commit 45da6ca

Please sign in to comment.