how set width column in table app designer
22 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Voss
le 1 Août 2023
x = [{90} repmat({30},1,size(app.UITableFilteredTable.Data,2)-1)];
app.UITableFilteredTable.ColumnWidth = x;
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!