uitable CellEditCallback executes after pushbutton callback

2 views (last 30 days)
I am using a uitable in a GUI. When the user modifies a cell the CellEditCallback only executes after the user hits return or clicks outside of the cell. But I have a pushbutton that is used to save the contents of the table to a file. If the user selects the pushbutton after modifying a cell and before clicking anywhwere else, then the pushbutton callback executes before the CellEditCallback. This is no good because I want the CellEditCallback to check the validity of the edit before saving.
Is there a way to get the CellEditCallback to execute before the pushbutton callback?

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!