Top left cell in uitable
4 ビュー (過去 30 日間)
古いコメントを表示
I need to acess the top left cell in UI table to add a text to make the table look good. How can this be done ?
0 件のコメント
回答 (1 件)
Anush
2023 年 6 月 13 日
Hi Abhishek,
There doesn't seem to be a direct way to achieve it. However, you can make use of 'Labels' to do the task. Following is one of the ways to add text to the top left cell:
fig = uifigure;
uit = uitable(fig,"Data",randi(100,10,3));
labelText = "Array";
label = uilabel(fig, 'Text', labelText);
label.FontSize = 14;
label.Position = [23 297 200 20];
Hope this helps.
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!