Appdesigner uitable darkmode including header (column name) and blank part

1 visualización (últimos 30 días)
Charbel
Charbel el 14 de Abr. de 2020
Respondida: TED MOSBY el 22 de Ag. de 2025
Do you have any tip to change the table background color of a uitable inside app designer including the header (column name) and the blank part like the attached image?

Respuestas (1)

TED MOSBY
TED MOSBY el 22 de Ag. de 2025
Hi,
You can change the background of the table excluing the headers as of now.
uit = uitable(uifigure,'Data',rand(100,10));
s = uistyle;
s.FontColor = 'blue';
addStyle(uit,s);
uit.BackgroundColor = 'red';
Here is some documentation for reference:
Hope it helps!

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by