import { Component, Input, ElementRef, AfterViewInit } from '@angular/core';
import { RdComponent } from '../../base/rdComponent';
export interface IGridWithChildColumItem {
field: string,
title: string,
sortable?: boolean,
width?: number,
textAlign?: string,
temptlate?: (e, r, a) => {}
}
@Component({
selector: 'rd-grid-wchild',
template: `
`
})
export class GridWithChild extends RdComponent implements AfterViewInit {
constructor(private element: ElementRef) { super(); }
@Input("rd-data") data: Array