Is there a uicontrol to let user rearrange rows of strings?

3 vues (au cours des 30 derniers jours)
raym
raym le 29 Nov 2023
Commenté : raym le 29 Nov 2023
The aim is to show several rows of strings, and let the user freely sort the strings by drag.
The listdlg cannot let the user to drag and sort the rows.
The RearrangeableColumns property of uitable only allow the user to drag the columns, but not rows.
Is there a uicontrol to let user rearrange rows of strings in R2016a?

Réponse acceptée

Walter Roberson
Walter Roberson le 29 Nov 2023
No there is no uicontrol for that purpose.
  2 commentaires
raym
raym le 29 Nov 2023
Just delete the findobj.m, everything works now.
To get the listd item,
a = jDND.DropTargetContext.getComponent.getSelectedValues;
afn_MergeList = arrayfun(@(x) a(x),1:length(a),'uni',0)';

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by