Highlighting individual Cells in UITable
11 views (last 30 days)
Show older comments
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 Comment
John Smith
on 16 Apr 2020
S = uistyle('BackgroundColor', 'yellow');
addStyle(app.UITable, S, 'cell', [13 6]);
Accepted Answer
Jan
on 29 Apr 2019
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.
More Answers (0)
See Also
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!