ng2-qgrid
Version:
Angular Grid
53 lines (52 loc) • 1.72 kB
TypeScript
import { OnDestroy, OnInit, ElementRef } from '@angular/core';
import { TemplateHostService } from '../../template/template-host.service';
import { ColumnListService } from '../../main/column/column-list.service';
import { ColumnService } from './column.service';
export declare class ColumnComponent implements OnInit, OnDestroy {
private columnList;
private templateHost;
private parent;
private service;
private element;
type: string;
key: string;
class: 'data' | 'control' | 'markup' | 'pivot' | 'cohort';
title: string;
pin: null | 'left' | 'right';
aggregation: string;
aggregationOptions: any;
editor: string;
editorOptions: any;
format: string;
symbol: string;
code: string;
width: number | string;
widthMode: number | string;
minWidth: number | string;
maxWidth: number | string;
viewWidth: number | string;
offset: number | string;
canEdit: boolean;
canResize: boolean;
canSort: boolean;
canMove: boolean;
canFilter: boolean;
canHighlight: boolean;
canFocus: boolean;
isVisible: boolean;
index: number;
label: (row: any, value?: any) => any | any;
labelPath: string;
itemLabel: (row: any, value?: any) => any;
itemFormat: string;
itemType: string;
value: (row: any, value?: any) => any;
path: string;
compare: (x: any, y: any) => number;
trueValue: any;
falseValue: any;
maxLength: number;
constructor(columnList: ColumnListService, templateHost: TemplateHostService, parent: ColumnService, service: ColumnService, element: ElementRef);
ngOnInit(): void;
ngOnDestroy(): void;
}