File

src/app/components/table/header.ts

Description

An interface representing the details of the additional data

Index

Properties

Properties

colspan
colspan: number
Type : number
Optional

Number of columns to span

columnDef
columnDef: string
Type : string

Definition of the column

header
header: string
Type : string

Label of the column

rowspan
rowspan: number
Type : number
Optional

Number of rows to span

import { TableData } from './table';

/** An interface representing the details of the header data */
export interface HeaderData {
  /** Label of the column */
  header: string;
  /** Definition of the column */
  columnDef: string;
  /** Cell data of the column */
  cell: (element: TableData) => unknown;
  /** Flag to show/hide the total below the table */
  isTotalRequired?: boolean;
  /** Flag to enable/disable sorting */
  sorting?: boolean;
  /** Alignment of the column data */
  alignment?: string;
}

/** An interface representing the details of the additional data */
export interface ExtraHeader {
  /** Definition of the column */
  columnDef: string;
  /** Label of the column */
  header: string;
  /** Number of columns to span */
  colspan?: number;
  /** Number of rows to span */
  rowspan?: number;
}

results matching ""

    No results matching ""