[ADF-1714] added selection mechanism for enter key pressed on datatable (#3157)

This commit is contained in:
Vito
2018-04-09 16:07:16 +01:00
committed by Eugenio Romano
parent 89b56e9e66
commit bc979ad661
3 changed files with 74 additions and 20 deletions
@@ -85,6 +85,7 @@
[attr.filename]="getFilename(row)"
tabindex="0"
(click)="onRowClick(row, $event)"
(keydown.enter)="onEnterKeyPressed(row, $event)"
[context-menu]="getContextMenuActions(row, col)"
[context-menu-enabled]="contextMenu">
<div *ngIf="!col.template" class="cell-container">