Filter löschen
Filter löschen

Top left cell in uitable

1 Ansicht (letzte 30 Tage)
Abhishek
Abhishek am 13 Jun. 2023
Beantwortet: Anush am 13 Jun. 2023
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 ?

Antworten (1)

Anush
Anush am 13 Jun. 2023
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.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by