Getting Started
Usages
Columns
API References
ngx-panemu-table / Interface

ComputedColumn

Extends:BaseColumn<any>

No documentation has been provided.

Properties

NameTypeDescription
cellClass
inherited from BaseColumn
((value: any, row: T) => string) | undefined

Cell CSS class factory. The class is applied to td element.

cellRenderer
inherited from BaseColumn
CellRenderer | undefined

Component to render in table cell. If unspecified, DefaultCellRenderer is used.

cellStyle
inherited from BaseColumn
((value: any, row: T) => string) | undefined

Cell style factory. The style is applied to td element.

expansion
inherited from BaseColumn
Expansion<T> | undefined

Expansion row renderer. If this property is filled, the cell will have a button to expand. The rowComponent property will be rendered in a new row just below the cell.

formatter
CellFormatter
headerRenderer
inherited from BaseColumn
HeaderRenderer | undefined

Column header renderer.

label
inherited from BaseColumn
string | undefined

Label for column header. Default is Title Case of the field property.

resizable
inherited from BaseColumn
boolean | undefined

Allow the column to be resized. Default true

sticky
inherited from BaseColumn
StickyType | undefined

Stick the column horizontally.

type
overrides BaseColumn
ColumnType.COMPUTED

Cue to specify default formatter and text alignment. For example, if the type is DECIMAL than it will have thousand separator and right-aligned

visible
inherited from BaseColumn
boolean | undefined

Display column in table. Default true.

width
inherited from BaseColumn
number | undefined

Column width in px. If undefined, it is up to the browser to calculate the optimum size. If you find the browser doesn't calculate it properly, try to increase the value of TableOptions.calculateColumWidthDelay.