필터 지우기
필터 지우기

how to wite html code to color background of aparticular uitable by using app designer ?

조회 수: 1 (최근 30일)
Hi everyone.
my question is how to edite color of particular cell (Table) in app designer by using html code?
for normal figure it works perfect.
data={1 2 3; 1 2 3; 1 2 3};
Content='Fehler'
textZ{1,1}=[strcat(['<html><body bgcolor="#FFFF00" text="#111111" width="100px">'],Content)]
data(2,2) = textZ;
f=figure()
h=uitable(f,'Data', data)
But when I change figure() by uifigure, it doesn't work.
data={1 2 3; 1 2 3; 1 2 3};
Content='Fehler'
textZ{1,1}=[strcat(['<html><body bgcolor="#FFFF00" text="#111111" width="100px">'],Content)]
data(2,2) = textZ;
f=uifigure
h=uitable(f,'Data', data)
any help ?
thank you in advance

채택된 답변

Walter Roberson
Walter Roberson 2019년 6월 5일
App Designer is based upon different technology, and does not support html for the entries.
  댓글 수: 2
joe
joe 2019년 6월 5일
편집: joe 2019년 6월 5일
is there any way do to that in app designer?
actually the data type from table in app designer is double and my newData is cell and matlab says cell can't be converted to cell
Walter Roberson
Walter Roberson 2019년 7월 10일
If there is a way to do it then it is buried fairly deeply.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by