diff --git a/build/Table.js b/build/Table.js index 9fdeb1d..80195ca 100644 --- a/build/Table.js +++ b/build/Table.js @@ -691,7 +691,7 @@ var Table = function (_Component) { record: record, expandIconAsCell: expandIconAsCell, onDestroy: this.onRowDestroy, - index: fixedIndex, + index: fixedIndex + lazyCurrentIndex, visible: visible, expandRowByClick: expandRowByClick, onExpand: this.onExpanded, diff --git a/build/TableRow.js b/build/TableRow.js index 67ce338..0add8b6 100644 --- a/build/TableRow.js +++ b/build/TableRow.js @@ -148,7 +148,7 @@ var TableRow = function (_Component) { fixed = _props3.fixed; if (!setRowHeight || !this.element || fixed) return; - setRowHeight(this.element.clientHeight + expandedContentHeight, this.props.index + lazyCurrentIndex); + setRowHeight(this.element.clientHeight + expandedContentHeight, this.props.index); }; TableRow.prototype.onRowClick = function onRowClick(event) { @@ -258,7 +258,7 @@ var TableRow = function (_Component) { record: record, indentSize: indentSize, indent: indent, - index: index + lazyCurrentIndex, + index: index, column: columns[i], key: columns[i].key, fixed: fixed,