set column width for all column

4 Ansichten (letzte 30 Tage)
aldo
aldo am 18 Jul. 2023
Kommentiert: Voss am 18 Jul. 2023
hi,
app.UITableCorrelationTab.Data=Function(xx);
app.UITable_mincap.ColumnWidth=??
i've number columns variable (is equal to height(xx))
how can i set it
example:
height(xx)=4
app.UITable_mincap.ColumnWidth={30,30,30,30};

Akzeptierte Antwort

Voss
Voss am 18 Jul. 2023
app.UITable_mincap.ColumnWidth = repmat({30},1,height(xx));
  2 Kommentare
aldo
aldo am 18 Jul. 2023
Verschoben: Voss am 18 Jul. 2023
thanks..
i want to delete columnName ..How can i do it? thank
Voss
Voss am 18 Jul. 2023
To set all column names to empty:
app.UITable_mincap.ColumnName = repmat({''},1,height(xx));

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by