@true-directive/grid
Version:
Angular Data Grid from Yopsilon.
24 lines (23 loc) • 606 B
TypeScript
/**
* Copyright (c) 2018-2019 Aleksey Melnikov, True Directive Company.
* @link https://truedirective.com/
* @license MIT
*/
import { EventEmitter } from '@angular/core';
import { Column } from '@true-directive/base';
import { GridStateService } from '../grid-state.service';
/**
* Interface for cell's components.
*/
export interface ICell {
event: EventEmitter<any>;
column: Column;
row: any;
state: GridStateService;
disabled: boolean;
/**
* Cell's initialization
* @param value Current value of a cell
*/
init(value: any): void;
}