* Reset cached offsets for positioning after a specific rowIndex, should be used only in dynamic mode(estimatedRowHeight is provided) * * @param {number} rowIndex * @param {boolean} shouldForceUpdate
(rowIndex = 0, shouldForceUpdate = true)
| 217 | * @param {boolean} shouldForceUpdate |
| 218 | */ |
| 219 | resetAfterRowIndex(rowIndex = 0, shouldForceUpdate = true) { |
| 220 | if (!this.props.estimatedRowHeight) return; |
| 221 | |
| 222 | this.table && this.table.resetAfterRowIndex(rowIndex, shouldForceUpdate); |
| 223 | this.leftTable && this.leftTable.resetAfterRowIndex(rowIndex, shouldForceUpdate); |
| 224 | this.rightTable && this.rightTable.resetAfterRowIndex(rowIndex, shouldForceUpdate); |
| 225 | } |
| 226 | |
| 227 | /** |
| 228 | * Reset row height cache, useful if `data` changed entirely, should be used only in dynamic mode(estimatedRowHeight is provided) |
no outgoing calls
no test coverage detected