필터 지우기
필터 지우기

Colum Format in uitable is weird

조회 수: 3 (최근 30일)
Tk
Tk 2019년 7월 31일
답변: Subhadeep Koley 2019년 8월 5일
Hi,
I found an odd behaviour which I assume is a bug.
If you create the following uitable and scroll fast to the right, then column 6 has suddendly a binary format instead of the dropdown menu.
Whats going on here and how can I avoid that?
Thanks for your answer (or even your response that you can reproduce my error.)
f = uifigure;
u = uitable(f);
numRows = 1000;
numCols = 3;
data = [ logical(ones(numRows,1)),randi(3,numRows,1)];
data = repmat(data,1,numCols);
u.Data = data;
u.ColumnEditable = true;
dropDown = {'1','2','3'};
format = [ {'logical'},{dropDown}];
u.ColumnFormat = [{[]},{[]},repmat(format,1,numCols)];

채택된 답변

Subhadeep Koley
Subhadeep Koley 2019년 8월 5일
I have brought this issue to the notice of our developers. They will investigate the matter further.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by