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

Method forceUpdateTable

src/BaseTable.js:207–211  ·  view source on GitHub ↗

* Forcefully re-render the inner Grid component. * * Calling `forceUpdate` on `Table` may not re-render the inner Grid since it uses `shallowCompare` as a performance optimization. * Use this method if you want to manually trigger a re-render. * This may be appropriate if the underlying

()

Source from the content-addressed store, hash-verified

205 * This may be appropriate if the underlying row data has changed but the row sizes themselves have not.
206 */
207 forceUpdateTable() {
208 this.table && this.table.forceUpdateTable();
209 this.leftTable && this.leftTable.forceUpdateTable();
210 this.rightTable && this.rightTable.forceUpdateTable();
211 }
212
213 /**
214 * Reset cached offsets for positioning after a specific rowIndex, should be used only in dynamic mode(estimatedRowHeight is provided)

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected