Filter löschen
Filter löschen

UITable HTML not being read

10 Ansichten (letzte 30 Tage)
Eduardo Gaona Peña
Eduardo Gaona Peña am 4 Dez. 2017
Bearbeitet: Walter Roberson am 25 Jan. 2023
I'm trying to add html text to a cell from a UITable created in the Appdesigner, however it doesnt seem to be working. The Appdesigner just copies the HTML code as text.
if true
TableMatrix(app.letteri(j)-64,app.columni(j))={strcat('<html><table border=0 width=400 bgcolor=#FF0000<TD>',num2str(1),'</TD></TR> </table></html>')};
end
Does anyone have any idea why it is not working?
Thanks in advance :)

Akzeptierte Antwort

Elizabeth Reese
Elizabeth Reese am 7 Dez. 2017
This functionality is not supported by uifigure and uitable in App Designer. Customization of individual cells of a uitable in App Designer is being considered for a future release of MATLAB.
  8 Kommentare
Xymbu
Xymbu am 25 Jan. 2023
This post specifically says app designer. This does not work for app designer. people reading this should know that.
Walter Roberson
Walter Roberson am 25 Jan. 2023
Bearbeitet: Walter Roberson am 25 Jan. 2023
Style Configurations can only be added to uitable that are inside uifigure, which is the kind of figure used by app designer. Follow the StyleConfigurations link I posted and look a few lines higher and notice that the section heading says the property is for uifigure only.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by