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

BaseColumn

Generic types:T

No documentation has been provided.

Properties

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

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

cellRenderer
CellRenderer | undefined

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

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

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

expansion
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.

headerRenderer
HeaderRenderer | undefined

Column header renderer.

label
string | undefined

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

resizable
boolean | undefined

Allow the column to be resized. Default true

sticky
StickyType | undefined

Stick the column horizontally.

type
ColumnType | undefined

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
boolean | undefined

Display column in table. Default true.

width
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.