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

2 Ansichten (letzte 30 Tage)
raym
raym am 29 Nov. 2023
Kommentiert: raym am 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?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 29 Nov. 2023
No there is no uicontrol for that purpose.
  2 Kommentare
raym
raym am 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)';

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by