how set width column in table app designer
22 ビュー (過去 30 日間)
古いコメントを表示
hi,
you see in this pics: column A(date), column B(number), column C(number)
i don't know the max of "number" columns(B,C,,)
In the first column i set width to {90}
But i want in the 2,3,4... columns set width to 30.
How can i do it?
[app.UITableFilteredTable.Data]=Table_HistoricalTable_Struct(app.Eq);
x=repmat({90},1,height(app.UITableFilteredTable.Data));
app.UITableFilteredTable.ColumnWidth =x;
app.UITableFilteredTable.ColumnName ={};
4 件のコメント
採用された回答
Voss
2023 年 8 月 1 日
x = [{90} repmat({30},1,size(app.UITableFilteredTable.Data,2)-1)];
app.UITableFilteredTable.ColumnWidth = x;
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File 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!