Cell Instance

Accessed via row.getVisibleCells() or row.getAllCells().

Properties

PropertyTypeDescription
idstringUnique cell identifier ({rowId}_{columnId})
rowRowParent row
columnColumnParent column

Methods

MethodReturnDescription
getValue()TValueGet the typed cell value
renderValue()TValueGet render-ready value
getContext()CellContextGet full render context (table, row, column, cell)
getIsEditing()booleanIs this cell in edit mode?
getIsAlwaysEditable()booleanIs this cell always editable?

CellContext

The object returned by cell.getContext():

interface CellContext<TData, TValue> {
  table: Table<TData>
  column: Column<TData, TValue>
  row: Row<TData>
  cell: Cell<TData, TValue>
  getValue: () => TValue
  renderValue: () => TValue
}