Custom Render Component not working
Open
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 867
- PR merge metrics
- No merged PRs in 30d
Description
Here is my code..
import { Component, Input, OnInit } from '@angular/core';
import { ViewCell } from 'ng2-smart-table';
@Component({
template: `
{{renderValue}}
`,
})
export class CustomRenderComponent implements ViewCell, OnInit {
renderValue: string;
@Input() value: string | number;
@Input() rowData: any;
ngOnInit() {
this.renderValue = this.value.toString().toUpperCase();
}
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.