Popupmenu in the uitable
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have a popupmenu in the uitable: set(handles.uitable1, 'ColumnFormat', {{'A' 'R'}) And I want to do, if I choose 'A', than do something, for example, 2+2, else 2-2. How to format function, that it does, what I want?
0 comentarios
Respuesta aceptada
Oleg Komarov
el 4 de Mzo. de 2011
You should use CellEditCallback:
set(handles.uitable1, 'ColumnFormat', {'A' 'R'},'CellEditCallback',@myFun)
function myfun(varargin)
% Check for the value
% Do stuff
end
Oleg
5 comentarios
Oleg Komarov
el 9 de Mzo. de 2011
There's is not such a thing as THE ERROR. Post the complete error msg you get.
Más respuestas (0)
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!