I have brought this issue to the notice of our developers. They will investigate the matter further.
Colum Format in uitable is weird
3 次查看(过去 30 天)
显示 更早的评论
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)];
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!