MATLAB: How to delete data from GUI uitable with a push button

celluitable

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!!!

Best Answer

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().
Related Question