Highlighting individual Cells in UITable
15 次查看(过去 30 天)
显示 更早的评论
Hi,
I want to hightlight specific cells (not a complete row/column) in a UITable with App Designer.
To my understanding, HTML does not work in UItables created with App Designer.
Do you have any other ideas and approaches? Or any advice how to get HTML Code in the table working?
Thank you
1 个评论
John Smith
2020-4-16
S = uistyle('BackgroundColor', 'yellow');
addStyle(app.UITable, S, 'cell', [13 6]);
采纳的回答
Jan
2019-4-29
See also: https://www.mathworks.com/matlabcentral/answers/25038-how-to-change-each-cell-color-in-a-uitable
I did not see a solution in the net yet. You can set the colors of the java tables in figures by HTML or java code, but not on uifigures.
更多回答(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!