Skip to content

Commit 1b78a10

Browse files
stenvltangjinzhou
authored andcommitted
Push column argument to cell's customRender function call. (#1513)
1 parent 6362bf9 commit 1b78a10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-table/src/TableCell.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default {
6767
let rowSpan;
6868

6969
if (customRender) {
70-
text = customRender(text, record, index);
70+
text = customRender(text, record, index, column);
7171
if (isInvalidRenderCellText(text)) {
7272
tdProps.attrs = text.attrs || {};
7373
tdProps.props = text.props || {};

0 commit comments

Comments
 (0)