need to create a popup drop down list in one of the columns in the tabel in gui which increaes in row size which every event .. an event is a mouse click
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Alan Antony
il 23 Lug 2019
Commentato: Alan Antony
il 6 Ago 2019
here is the code for the creation of the table
uitable(pan, 'Tag', 'PPR_TablePoints', ...
'Units', 'normalized', ...
'Position', [0.05, 0.01, 0.3, 0.98], ...
'CellSelectionCallback', @(src,evnt) PPTableButtonDownCallback(src, evnt, this), ...
'CellEditCallback', @(src,evnt) PPTableEditCallback(src, evnt, this))
here is code for the upodate of the tabel created ....the loop updates the rows with each event which is the click
ncols = 4;
data = cell(nItems, ncols);
for i =1 : nItems
data{i,1} = i;
data{i,2} = pointlist(i, 1);
data{i,3} = pointlist(i, 2);
data{i,4} = xxxxxxxxxxxxxxx
end
i tried with categorical
categorical(data.data{1,4},{option1 ,option2}, ordinal,true);
the showed an error dot indexing is not supported....
NEED HELP
6 Commenti
Risposta accettata
Harsha Priya Daggubati
il 6 Ago 2019
Hi,
It would be helpful to solve the issue if you share your code completely and elaborate on your issue.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!