All files / src/components/zd-grid-editable grid-column-editable.ts

100% Statements 6/6
100% Branches 0/0
100% Functions 1/1
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1693x           93x 216x     216x 216x 216x      
import { GridColumn } from '../zd-grid';
import { IGridColumnEditable } from './interfaces';
 
/**
 * Base class for Grid column
 */
export class GridColumnEditable extends GridColumn implements IGridColumnEditable {
	editable = false;
 
	constructor(props: IGridColumnEditable) {
		super(props);
		this.editable = this.getInitValue('editable', props.editable, this.editable);
		this.createAccessors();
	}
}