Java based uitable in gui

1 visualización (últimos 30 días)
Vick
Vick el 15 de Oct. de 2018
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

Respuestas (0)

Categorías

Más información sobre Environment and Settings en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by