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

조회 수: 2 (최근 30일)
Dang Khoa Pham
Dang Khoa Pham 2015년 11월 24일
댓글: Dang Khoa Pham 2015년 11월 25일
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!!!

채택된 답변

TastyPastry
TastyPastry 2015년 11월 24일
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().

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by