Author Topic: Can't get backspace key to work when editing a cell  (Read 342 times)

jakobs1

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 3
    • View Profile
Can't get backspace key to work when editing a cell
« on: December 28, 2022, 05:06:19 pm »
Is there something I'm missing. I see that it is working in the demo but not in my code

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Can't get backspace key to work when editing a cell
« Reply #1 on: December 28, 2022, 10:24:25 pm »
Have you implemented a custom key event handler anywhere in your code.

jakobs1

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Can't get backspace key to work when editing a cell
« Reply #2 on: January 02, 2023, 06:29:47 pm »
No I have not

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Can't get backspace key to work when editing a cell
« Reply #3 on: January 02, 2023, 06:54:56 pm »
Try to use different editors i.e., "textbox", "textarea", "contenteditable". Kindly share a jsfiddle if not able to resolve it.

jakobs1

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Can't get backspace key to work when editing a cell
« Reply #4 on: January 03, 2023, 02:26:31 am »
Thank you. Got it to work after adding
editor: { type: 'textbox'} to the colModel.
Was not aware of that was required.