UNPKG

@angular-generic-table/core

Version:
28 lines (27 loc) 883 B
import { Type } from '@angular/core'; export declare type InitialStateFunc = (row: any) => boolean; export interface GtOptions { cache?: boolean; debounceTime?: number; csvDelimiter?: string; stack?: boolean; lazyLoad?: boolean; highlightSearch?: boolean; rowSelection?: boolean; rowSelectionAllowMultiple?: boolean; rowSelectionInitialState?: boolean | InitialStateFunc; rowExpandAllowMultiple?: boolean; rowExpandInitialState?: boolean | InitialStateFunc; rowExpandInitialComponent?: { component: Type<any>; data?: Array<any>; }; numberOfRows?: number; reportColumnWidth?: boolean; /** object key containing unique row id */ rowIndex?: string; /** allow table to be unsorted */ allowUnsorted?: boolean; /** should data be mutated or deep copy to be made */ mutateData?: boolean; }