Setting ColumnWidth for individual column in OLD uitable

조회 수: 3 (최근 30일)
TestingMatlab
TestingMatlab 2016년 3월 17일
댓글: Allu Zeff 2016년 6월 8일
How can I set column width for each column in old uitable? I am trying it as follows but it does not work. I can see from several references that ColumnWidth is a settable property in old uitable.
If it is not possible to it via matlab fucntions, any hints on how this can be achieved using underlying java would be appreciated.
Thanks.
h_old=uitable('v0','data',magic(5),'position',[5,5,550,400]);
set(h_old,'Units','normalized')
cwidth={'100' 'auto' 'auto' 'auto' '100'};
set(h_old,'ColumnWidth',cwidth);
  댓글 수: 1
Allu Zeff
Allu Zeff 2016년 6월 8일
"Undocumented Secrets of MATLAB-Java Programming" (Y.Altman) 4.1.3

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

답변 (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