Author Topic: Listen for insert/delete key  (Read 259 times)

ddenes330

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 1
    • View Profile
Listen for insert/delete key
« on: August 21, 2023, 08:16:12 pm »
How can I listen for insert/delete key? I have special processing for both those conditions (Currently, I am handling those with context menu options). It would be quicker for users of my grid to just click those keys rather than opening the context menu.

This is not urgent.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Listen for insert/delete key
« Reply #1 on: August 22, 2023, 11:54:20 am »
cellKeyDown event can be used to detect keydown in a focused cell and event.key and event.keyCode to detect the key inside the event listener.

https://paramquery.com/pro/api#event-cellKeyDown
« Last Edit: August 22, 2023, 02:25:57 pm by paramvir »