MCPcopy Create free account
hub / github.com/bvaughn/react-virtualized / getOffsetForCell

Method getOffsetForCell

lib/components/Grid/types.ts:481–481  ·  view source on GitHub ↗

* Gets offsets for a given cell and alignment (see `scrollToCell` for the alignment values). * The alignment defaults to "auto"; an index of `-1` (the default) refers to the last column or row.

(params?: {
    alignment?: Alignment;
    columnIndex?: number;
    rowIndex?: number;
  })

Source from the content-addressed store, hash-verified

479 * The alignment defaults to "auto"; an index of `-1` (the default) refers to the last column or row.
480 */
481 getOffsetForCell(params?: {
482 alignment?: Alignment;
483 columnIndex?: number;
484 rowIndex?: number;

Callers 3

getOffsetForRowFunction · 0.80
getOffsetForRowFunction · 0.80
Grid.test.tsxFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected