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!