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

2 vues (au cours des 30 derniers jours)
Dang Khoa Pham
Dang Khoa Pham le 24 Nov 2015
Commenté : Dang Khoa Pham le 25 Nov 2015
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!!!

Réponse acceptée

TastyPastry
TastyPastry le 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().

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by