I am interested in having a popupmenu for the column names for my uitable. I know that the cells may be popupmenus, but is it possible for the actual column name to be a popupmenu?
Thanks, Cory
Best Answer
Not with any documented function. You might be able to do something with the hints at undocumentedmatlab.com
George - presumably theadd pushbutton is on the second GUI and you need to transfer the data from the edit text box(es) from it to the table in the first GUI. Since you state that youhave been able to use Tag and Guidata to called the handles from the gui with the table then that suggests that you know how to have your two GUIs communicate with each other (if this is not the case, seehttp://www.mathworks.com/matlabcentral/answers/146215-pass-data-between-gui-s for an example).
Suppose then that you have the following pushbutton callback in your second GUI
function add_pushbutton(hObject,eventdata,handles)
% use guidata to get the handles of the first GUI (assumes that first GUI tag is Gui1)
Best Answer