Delete table row with key but not when it is in edit mode

By using guide I have created a table with a KeyPressFcn that check if the delete key was pressed and if so it removes the selected row in the table. But the problem is if you are in a cell editing the text and pressing the delete key to remove some text, then I do not want the whole row to be removed, I only want this to happened when the cell is selected but not in a write mode. Is there any way to solve this?

Answers (0)

Categories

Asked:

on 13 Jul 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!