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

MapColumn

Generic types:T
Extends:PropertyColumn<T>

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.

field
inherited from PropertyColumn
keyof T
filterable
inherited from PropertyColumn
boolean | undefined

Allow the column to be filtered. Default true. This property is read by PanemuQueryComponent.

filterEditor
inherited from PropertyColumn
Type<FilterEditor> | undefined

Custom component to edit filter. Only relevant if filterable property is true.

formatter
inherited from PropertyColumn
CellFormatter | undefined

Cell value formatter. If undefined, it will follow default setting based on ColumnType.

groupable
inherited from PropertyColumn
boolean | undefined

Allow the column to be grouped. Default true. This property is read by PanemuQueryComponent.

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

rowGroupRenderer
inherited from PropertyColumn
RowGroupRenderer | undefined
sortable
inherited from PropertyColumn
boolean | undefined

Allow the column to be sorted. Default true.

sticky
inherited from BaseColumn
StickyType | undefined

Stick the column horizontally.

type
overrides BaseColumn
ColumnType.MAP | 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

valueMap
WritableSignal<{ [key: string]: any; }> | { [key: string]: any; }

Key-Value pair to format the cell value as key, into it's corresponding value.

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.