Turn checkbox cell green in a uitable

2 vues (au cours des 30 derniers jours)
Andrew Reibold
Andrew Reibold le 1 Juil 2013
Commenté : Andrew Reibold le 10 Juil 2014
I have a uitable with the last column being checkboxes. Rows represent processes, when the process is complete, I want to make it check the box and fill the cell with green.
If there was an error, I want to be able to choose to turn it red, or yellow.
How do I change the background color of a checkbox or logical cell?

Réponse acceptée

Walter Roberson
Walter Roberson le 1 Juil 2013
You have a look at undocumentedmatlab to find out how to gain access to the Java level of the uitable, and you work at that level. There is no MATLAB interface for changing the color of checkboxes in uitable.
  1 commentaire
Andrew Reibold
Andrew Reibold le 10 Juil 2014
Was looking through my question history and saw I never accepted this. I did in fact eventually have to use Java to change the colors. Thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by