Top left cell in uitable
조회 수: 3 (최근 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 ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1409609/image.png)
댓글 수: 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!