import { Cell } from '../models/cell' ; import { ICellRenderer } from '../base/interface' ; import { CellRenderer } from './cell-renderer' ; import { Column } from '../models/column' ; hidden export class HeaderIndentCellRenderer extends CellRenderer implements ICellRenderer < Column > { public element : HTMLElement = this . parent . createElement ( 'TH' , { className : 'e-grouptopleftcell' } ) ; param { Cell } cell param { Object } data public render ( cell , data ) { let node = this . element . cloneNode ( ) as Element ; node . appendChild ( this . parent . createElement ( 'div' , { className : 'e-headercelldiv e-emptycell' , innerHTML : '' } ) ) ; return node ; } }