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

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?

Réponses (1)

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!

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Produits

Question posée :

le 14 Avr 2020

Réponse apportée :

le 22 Août 2025

Community Treasure Hunt

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

Start Hunting!

Translated by