How might I be able to prevent a Cell form being deleted when you press the Delete key?

Maybe there is a way to display some type of Dialog when you attempt to delete(or cut) a cell?


1 Answer 1


The option is Deletable:

Deletable is an option for Cell which specifies whether the cell can be deleted interactively using the front end.

You can set it either programmatically as shown in the documentation linked above, or with the Option Inspector (Shift+Ctrl+O on Windows).

enter image description here

  • $\begingroup$ Ideally I am just looking for a way to double check that the user wants to Delete the cell, and not necessarily prevent it entirely. I see tried and DeleteWithWarning but it didn't seem to work, might you have any other ideas? $\endgroup$
    – William
    Jul 11, 2013 at 21:21
  • $\begingroup$ @Liam I don't know of an option for that, but I'll think about it. $\endgroup$
    – Mr.Wizard
    Jul 12, 2013 at 1:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.