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

조회 수: 3 (최근 30일)
raym
raym 2023년 11월 29일
댓글: raym 2023년 11월 29일
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?

채택된 답변

Walter Roberson
Walter Roberson 2023년 11월 29일
No there is no uicontrol for that purpose.
  댓글 수: 2
raym
raym 2023년 11월 29일
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)';

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by