Is there a way to programmatically go to a specific row in a table in app designer?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
In guide, using findjobj there was a possibility to programmatically go to a specific row in a tabel.
Using app designer, this possibility is obviously gone, as table are not java objects
so, is there a way to programmatically go to a specific row in a table in app designer?
0 Commenti
Risposte (1)
Subhadeep Koley
il 31 Ott 2019
It seems there is no straight forward way to go to a row / colomn / cell.
But you can edit any cell of your choice programmatically with the code below,
% Fetch your table data
t = app.UITable.DisplayData;
% Convert cell to mat
t = cell2mat(t);
% Specify your Row, Col, and value
rowNo = 10;
colNo = 15;
val = 77.60;
% Modify the cell
app.UITable.Data{rowNo, colNo} = val;
Hope this helps!
0 Commenti
Vedere anche
Categorie
Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!