ActiveUI

ActiveUI

  • User Guide
  • Developer Documentation

Home > @activeviam/activeui-sdk > CellRendererImplementationProperties

CellRendererImplementationProperties interface

Change the rendering of cells in a table.

Signature:

export interface CellRendererImplementationProperties 

Properties

PropertyTypeDescription
getCellStyle(rowIndex: number, columnProps: TabularColumnProps) => {}Assign a CSS style to the cell. This style will be merged with the default style.
isAvailable(a: {
colKey: number;
columnProps: TabularColumnProps;
rowIdx: number;
}) => boolean
Decide if the other methods of the plugin should be called (applies to getCellStyle AND renderCell). Returns true by default.
renderCell(a: {
colKey: number;
columnProps: TabularColumnProps;
onCellRef: (a: HTMLElement | null | undefined) => {};
rowIdx: number;
}) => React.ReactElement<any>
Render the content of the cell.
  • CellRendererImplementationProperties interface
  • Properties
Copyright © 2019 ActiveViam