UiTable HTML not working
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Rafael Rafael
el 17 de Mzo. de 2019
Respondida: Søren Furbo
el 23 de Abr. de 2020
Hello everyone.
I'm tring to change the background of the cells of my UItable.
I have this code to do so:

And the result is this:

But if I do this:
uitable('data',data)
it pops a new window with this table:

That is what I want, but I want in the windows form.
Does anybody know how to fix my problem?
Thanks.
0 comentarios
Respuesta aceptada
Søren Furbo
el 23 de Abr. de 2020
Coloring cells in uitables made with app designer works completely different than it does for other UItables. HTML in general does not work for uitables made with app designer.
It is possible to color cells in uitables made in app designer in 2019b and forward, but not in 2019a: https://se.mathworks.com/help/matlab/ref/matlab.ui.control.tableappd.addstyle.html
For 2019a, you can color entire cell rows, but not individual cells.
0 comentarios
Más respuestas (1)
Walter Roberson
el 17 de Mzo. de 2019
uitable for app designer is not based upon the same underlying technology, and does not support html for coloring.
I do not know if it is possible to color cell by cell with app designer.
0 comentarios
Ver también
Categorías
Más información sobre Develop Apps Using App Designer 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!