Java based uitable in gui
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi all, I wanted a uitable exactly like a spreadsheet table(single click to select and double click to edit). In the current uitable it is irritating to work. For this i can wirte a custom funtion but how to trigger mouse double click with the help of java.
I have also checked with Yair's "Java-based data table", i work fine but following are the issues i face with Java-based data table 1. How to get handles inside callbacks, % On gui opening function handles.table_struct=createTable_set(handles.uipanel1,'Buttons',0,'Data',magic(3)); handles.table_struct.MouseClickedCallback=@mouse_clicked;
function mouse_clicked(handles,eventdata) % how to get handles inside this
handles.Current_selected_index=eventdata.Indices;
guidata(hObject,handles)
2. Need a custom row header 3. How to color each cells
I prefer to have a solution of just changing the uitable to spreadsheet kind of table instead of using a custom java addon like 'createtable' as i'm zero in java.
I'm using Matlab 2018a
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!