How can i format my uitable using html when it is contained in a parent figure?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi,
i am trying to format an uitable to have a 2-line header:
mytable=uitable();
mytable.ColumnName={'<html><center>This is<br>some text</html>'};
This works fine, unfortunately i would like to put my table in another figure and this causes the html statements to be shown in the header as plain text.
myfigure=uifigure();
mytable=uitable(myfigure);
mytable.ColumnName={'<html><center>This is<br>some text</html>'};
Is there some way around this?
댓글 수: 0
채택된 답변
Walter Roberson
2020년 8월 11일
HTML is not supported for uitable that are inside uifigure.
(Changing the color cells is possible for uitable in uifigure; see addStyle. Unfortunately this does not help with the titles)
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!