Highlighting individual Cells in UITable
조회 수: 10 (최근 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!