MCPcopy
hub / github.com/marimo-team/marimo / getStableRowId

Function getStableRowId

frontend/src/components/data-table/utils.ts:113–117  ·  view source on GitHub ↗
(row: TData)

Source from the content-addressed store, hash-verified

111 *
112 */
113export function getStableRowId<TData>(row: TData): string | undefined {
114 if (row && typeof row === "object" && INDEX_COLUMN_NAME in row) {
115 return String(row[INDEX_COLUMN_NAME]);
116 }
117}
118
119/**
120 * Calculate which page a given row index should be on.

Callers 4

DataTableInternalFunction · 0.90
getRowIdFunction · 0.90
getRowIdFunction · 0.90
getRowIdFunction · 0.90

Calls 1

StringInterface · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…