Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ICellRenderer

a cell renderer for rendering a cell of specific column

Hierarchy

  • ICellRenderer

Index

Properties

Methods

Properties

template

template: string

template as a basis for the update

Methods

render

  • render(ctx: CanvasRenderingContext2D, d: IDataRow, i: number, group: IGroup): void

update

  • update(node: HTMLElement, d: IDataRow, i: number, group: IGroup): void
  • update a given node (create using the template) with the given data

    Parameters

    • node: HTMLElement

      the node to update

    • d: IDataRow

      the data item

    • i: number

      the order relative index

    • group: IGroup

      the group this row is part of

    Returns void