MATLAB Answers

How to delete data from GUI uitable with a push button?

9 views (last 30 days)
For more information, by using a push button, I want to delete an entire row of data in the uitable corresponding to any selected cell in that row. Can anybody help me out with this? Thank you in advance for all answers!!!

Accepted Answer

TastyPastry
TastyPastry on 24 Nov 2015
Set a pushbutton callback to edit the data in a uitable. You'll need a way to access the handles of the figure your uitable is contained in. One way to do this is to pass the handles through the callback, or you can use the 'tag' property on your figure and use findobj() in the callback. I'd use guidata() to access and save your handles if you're using findobj().

More Answers (0)

Community Treasure Hunt

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

Start Hunting!