Change background color of uitable row name fields
28 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to be able to change the background color of the row name field in a uitable in R2019b.
I currently have a check in place that appends 'Insufficient Data!' into the rowname property of my table if there is insufficient data for that row of the table.
To improve on space efficiency, I want to highlight the row name field to show this.
I am currently formatting the background color of the table cells using uistyle, is it possible to use uistyle for changing the background color of the row name fields?
EDIT: For clarity, I am trying to change the background color of the row names (point 1, point 2 etc... instead of appending 'Insufficient Data!' into the row name
0 comentarios
Respuestas (1)
Adam Danz
el 23 de Feb. de 2021
Editada: Adam Danz
el 23 de Feb. de 2021
In Matlab r2019b and later, use addstyle() to control color of cells in a uitable. The uitable must be within a uifigure (such as in AppDesigner).
5 comentarios
Mark Magdaleno
el 15 de Oct. de 2023
2023B doesnt seem to support this as well. Still hoping. Row Cells highlighed with the rowname not highlighted looks funky.
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!