Home > @activeviam/activeui-sdk > CellFactoryImplementationProperties
CellFactoryImplementationProperties interface
Performs a manipulation on the columns of a table, for example to render several columns as one.
Signature:
export interface CellFactoryImplementationProperties
Properties
Property | Type | Description |
---|---|---|
getColumnProps | (columnProps: TabularColumnProps, columnInstance: any) => any | A way to enrich the columnProps with a calculation that will only be run once for the whole column. |
getDefaultOptions | () => any | |
getRowHeight | (rowIndex: number, minRowHeight: number, columnProps: TabularColumnProps) => number | The specific row height, only called if hasCustomRowHeight returns true. |
hasCustomRowHeight | () => boolean | Whether the cell needs a higher height. |
renderCell | (a: { colKey: string; columnProps: TabularColumnProps; rowIdx: number; }) => ReactElement<any> | |
replaceCells | () => boolean | Whether the original cells should be replaced or not. Defaults to true. |