How to disable arrow key navigation on PrimeNG Table

Viewed 309

Is there a way to disable arrow key (left, right, up & down) navigation in Primng Table Stackblitz. ? Tab key should work.

1 Answers

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)

Related