MCPcopy Create free account
hub / github.com/Autodesk/react-base-table / renderFrozenRow

Method renderFrozenRow

src/TableHeader.js:25–31  ·  view source on GitHub ↗
(rowData, index)

Source from the content-addressed store, hash-verified

23 }
24
25 renderFrozenRow(rowData, index) {
26 const { columns, rowHeight, rowRenderer } = this.props;
27 const style = { width: '100%', height: rowHeight };
28 // for frozen row the `rowIndex` is negative
29 const rowIndex = -index - 1;
30 return rowRenderer({ style, columns, rowData, rowIndex });
31 }
32
33 render() {
34 const { className, width, height, rowWidth, headerHeight, frozenData } = this.props;

Callers

nothing calls this directly

Calls 1

rowRendererFunction · 0.50

Tested by

no test coverage detected