MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / cell

Function cell

packages/app-core/src/components/DatabaseTableView.tsx:204–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202 setActive({ row: clampRow(row), col: clampCol(col) })
203 }
204 const cell = (): { row: DbRow; field: DbField } | null => {
205 const row = rows[active.row]
206 const field = columns[active.col]
207 return row && field ? { row, field } : null
208 }
209 const toggleCheckbox = (row: DbRow, field: DbField): void =>
210 commitCell(row.id, field, isCheckboxTrue(row.cells[field.id] ?? '') ? 'false' : 'true')
211

Callers 1

onGridKeyDownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected