how to activate/deactivate some boxes of iutable depending on the entry in the first box

1 view (last 30 days)
hi everybody,
I have the following iutable,
is it possible to deactivate (make it uneditable) boxes A for exemple when typ is "1" and box B, C when typ is "0" by clicking on the button "set" ?
the button save :
function save_Callback(hObject, eventdata, handles) data = get(handles.uitable1, 'data'); disp(data)
since I set the boxes as editable boxes in the inspector property.
thank you

Accepted Answer

Ingrid on 16 Jun 2015
Paul Nanfah
Paul Nanfah on 17 Jun 2015
Edited: Paul Nanfah on 17 Jun 2015
k loop ist useless indeed since I dont need to run through the row,also I am quit satisfied with setting the values to zeros! thanks again

Sign in to comment.

More Answers (0)


Find more on Programming Utilities in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by