Colum Format in uitable is weird

1 view (last 30 days)
Tk
Tk on 31 Jul 2019
Answered: Subhadeep Koley on 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)];

Accepted Answer

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

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!