CellContext

class CellContext<TData, TValue>(val cell: Cell<TData, TValue>, val column: Column<TData, TValue>, val getValue: () -> TValue, val renderValue: () -> TValue?, val row: Row<TData>, val table: Table<TData>)

Context object passed to cell renderers. Carries the cell, its column, row and owning table, plus value accessors. getValue returns the raw cell value, while renderValue returns the value or the configured renderFallbackValue when null.

Constructors

Link copied to clipboard
constructor(cell: Cell<TData, TValue>, column: Column<TData, TValue>, getValue: () -> TValue, renderValue: () -> TValue?, row: Row<TData>, table: Table<TData>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val getValue: () -> TValue
Link copied to clipboard
val renderValue: () -> TValue?
Link copied to clipboard
val row: Row<TData>
Link copied to clipboard