Author Topic: Prevent Delete key on Paramquery grid rows and cells  (Read 2242 times)

rsgmedia

  • Pro Enterprise
  • Jr. Member
  • *
  • Posts: 50
    • View Profile
Prevent Delete key on Paramquery grid rows and cells
« on: November 17, 2016, 07:05:47 pm »
When we press delete key on selected cell/row, the data of editable fields gets deleted. How can we prevent this action?
We tries to use editorKeyPress but it is not catching special keys.

Please provide some solution.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Prevent Delete key on Paramquery grid rows and cells
« Reply #1 on: November 17, 2016, 07:17:50 pm »
Please set editModel.pressToEdit to false.

http://paramquery.com/pro/api#option-editModel