Colum Format in uitable is weird
Show older comments
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
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!