[英]how to move to the next input field when tab is pressed in angular table?
您需要附加一个事件,该事件会keydown.tab
,然后调用相应单元格的编辑。
<input
(keydown.Tab)="edit(i, 'symbol')"
matInput
placeholder="Placeholder"
(blur)="reset()"
[(ngModel)]="element.weight"
appFocusOnLoad
/>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.