ActiveUI

ActiveUI

  • User Guide
  • Developer Documentation

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

PropertyTypeDescription
getColumnProps(columnProps: TabularColumnProps, columnInstance: any) => anyA 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) => numberThe specific row height, only called if hasCustomRowHeight returns true.
hasCustomRowHeight() => booleanWhether the cell needs a higher height.
renderCell(a: {
colKey: string;
columnProps: TabularColumnProps;
rowIdx: number;
}) => ReactElement<any>
replaceCells() => booleanWhether the original cells should be replaced or not. Defaults to true.
  • CellFactoryImplementationProperties interface
  • Properties
Copyright © 2023 ActiveViam