add focus parameter

This commit is contained in:
pionnegru
2019-11-19 13:26:43 +02:00
parent 7772f4a5e7
commit 1784106e6b

View File

@@ -74,6 +74,10 @@ export class DataColumnComponent implements OnInit {
@Input() @Input()
editable: boolean = false; editable: boolean = false;
/** Enable or disable cell focus */
@Input()
focus: boolean = true;
ngOnInit() { ngOnInit() {
if (!this.srTitle && this.key === '$thumbnail') { if (!this.srTitle && this.key === '$thumbnail') {
this.srTitle = 'Thumbnail'; this.srTitle = 'Thumbnail';