Is there a way to disable arrow key (left, right, up & down) navigation in Primng Table Stackblitz . ? Tab key should work.
I disable the following methods definition in \node_modules\primeng\fesm2015\primeng-table.js
and now arrow keys don't navigate the cursor:-
onArrowUp(event)
onArrowDown(event)
onArrowLeft(event)
onArrowRight(event)
Methods should override with stopPropagation. Nice solution if create a directive to share this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.