import { Component, Output, EventEmitter, Input } from '@angular/core'; import { Cell } from '../../../lib/data-set/cell'; export class EditCellDefault { @Input() cell: Cell; @Input() inputClass: string = ''; @Output() edited = new EventEmitter(); onEdited(event: any): boolean { this.edited.next(event); return false; } onStopEditing(): boolean { this.cell.getRow().isInEditing = false; return false; } onClick(event: any) { event.stopPropagation(); } }