Colum Format in uitable is weird

8 Ansichten (letzte 30 Tage)
Tk
Tk am 31 Jul. 2019
Beantwortet: Subhadeep Koley am 5 Aug. 2019
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)];

Akzeptierte Antwort

Subhadeep Koley
Subhadeep Koley am 5 Aug. 2019
I have brought this issue to the notice of our developers. They will investigate the matter further.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer 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