struct TUI::TableRow

Overview

One data row: styled Cells in the same order as TableDataSource#columns. A row shorter than the column count renders missing cells as blank (see TableView#row_content); it is never an error to omit trailing cells.

Defined in:

tui/data_sources/table_data_source.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cells : Array(Cell) = [] of Cell) #

[View source]

Instance Method Detail

def cells : Array(Cell) #

def clone #

[View source]
def copy_with(cells _cells = @cells) #

[View source]