alias Tablo::TextCellFormatter

Overview

Formatter proc for text cell types (Heading and Group).

Any processing can be done on cell value. For example, if the runtime cell value type is Time, we could format as :

formatter: ->(c : Tablo::CellType) { "Date: " + c.as(Time).to_s("%Y-%m-%d") }

Alias Definition

Tablo::CellType, Int32 -> String | Tablo::CellType -> String

Defined in:

types.cr