UNPKG

@velis/dynamicforms

Version:

Data entry boilerplate components and a RESTful API consumer

35 lines 1.41 kB
import DisplayMode from '../../classes/display-mode'; import FormField from '../../form/definitions/field'; import { DfTable } from '../namespace'; import ColumnOrdering from './column-ordering'; export default class TableColumn { name: string; label: string; align: DfTable.CSSAlignment; visibility: DisplayMode; renderParams: { table_format: any; table_show_zeroes?: boolean; max_width?: string; }; maxWidth: number; ordering: ColumnOrdering; private _maxWidth; layout: DfTable.ResponsiveLayoutInterface | null; CSSClass: string; CSSClassHead: string; renderComponentName: string; renderDecoratorFunction: (rowData: Object, thead: boolean) => any; formFieldInstance?: FormField; constructor(initialData: DfTable.ColumnJSON, orderingArray: ColumnOrdering[]); setLayout(layout: DfTable.ResponsiveLayoutInterface): void; setMaxWidth(value: number): void; renderDecoratorPlain(rowData: any, thead: boolean): any; renderDecoratorColor(rowData: any, thead: boolean): any; renderDecoratorBool(rowData: any, thead: boolean): any; renderDecoratorLink(rowData: any, thead: boolean): any; renderDecoratorEmail(rowData: any, thead: boolean): any; renderDecoratorFile(rowData: any, thead: boolean): any; renderDecoratorIP(rowData: any, thead: boolean): any; } //# sourceMappingURL=column.d.ts.map