How can I close exponential view in uitable and increase the rows width?

2 ビュー (過去 30 日間)
sermet
sermet 2013 年 11 月 11 日
回答済み: Walter Roberson 2013 年 11 月 11 日
num1=[1;2;3] %points id
num2=[4298567.322;4275666.985;4635714.325] %coordinates
num3=[525647.555;522312.965;511325.542] %coordinates
num=[num1 num2 num3] %points id, coordinates
num=num2cell(num)
set(handles.uitable1, 'Data', num)
%coordinates looks exponential in uitable's row. How can I close this looking and increase the width of each row?

採用された回答

Walter Roberson
Walter Roberson 2013 年 11 月 11 日
Set the ColumnFormat property to 'f' (fixed); see http://www.mathworks.com/help/matlab/ref/uitableproperties.html#brglhyc
You can also set the ColumnWidth property.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop 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