Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-bootstrap-table2/src/footer-cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class FooterCell extends eventDelegater(React.Component) {
if (cellClasses) cellAttrs.className = cs(cellAttrs.className, cellClasses);
if (!_.isEmptyObject(cellStyle)) cellAttrs.style = cellStyle;

const children = footerFormatter ? footerFormatter(column, index) : text;
const children = footerFormatter ? footerFormatter(text) : text;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello @pdrgds please give text as first argument but keep index as second argument. thanks


return React.createElement('th', cellAttrs, children);
}
Expand Down