ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: ddenes330 on August 21, 2023, 08:16:12 pm

Title: Listen for insert/delete key
Post by: ddenes330 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.
Title: Re: Listen for insert/delete key
Post by: paramvir 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