How can i format my uitable using html when it is contained in a parent figure?
3 次查看(过去 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!