import { Cell } from './cell'; export class Row { private _editing: boolean; public temp: any; public value: any; public selected: boolean; public cells: Cell[] = []; get editing(): boolean { return this._editing; } set editing(value: boolean) { this.temp = Object.assign({}, this.value); this._editing = value; } }