You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CellMeasurer.md
+39-2Lines changed: 39 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ class CellSizeCache {
53
53
The [default caching strategy](https://github.com/bvaughn/react-virtualized/blob/master/source/CellMeasurer/defaultCellSizeCache.js) is exported as `defaultCellMeasurerCellSizeCache` should you wish to decorate it.
54
54
You can also pass `uniformRowHeight` and/or `uniformColumnWidth` named parameters to the constructor for lists with a uniform (yet unknown) cell sizes.
55
55
56
-
An [id-based caching strategy](https://github.com/bvaughn/react-virtualized/blob/master/source/CellMeasurer/idCellSizeCache.js) is also available for data that may be sorted.
56
+
An [id-based caching strategy](id-based-cell-size-cache) is also available for data that may be sorted.
57
57
This strategy maps data ids to cell sizes rathe than index so that the sorting order of the data does not invalidate sizes.
58
58
59
59
### Examples
@@ -63,7 +63,7 @@ This strategy maps data ids to cell sizes rathe than index so that the sorting o
63
63
This example shows a `Grid` with fixed row heights and dynamic column widths.
64
64
For more examples check out the component [demo page](https://bvaughn.github.io/react-virtualized/#/components/CellMeasurer).
0 commit comments