Disable backspace in readonly column
Disable backspace in readonly column
mikelucks
Posts: 14Questions: 2Answers: 0
In primary editing mode, if the user clicks in a readonly cell and then types the backspace key, the browser switches to the previous page. Is there any way to disable the backspace key for a specific table column?
This discussion has been closed.
Replies
That's not DataTables, but the browser. I've lost many a filled-out form because of that "feature".
You can trap backspace using ordinary jQuery. See http://stackoverflow.com/questions/4935655/how-to-trap-the-backspace-key-using-jquery
Thanks!!!