How do I edit or delete the data in a uitable?

3 ビュー (過去 30 日間)
slumberk
slumberk 2011 年 2 月 8 日
I have a figure with a uitable. I have 4 row and 3 columns.
When I go to the property inspector, I can't delete row number 4. How can I delete row number 4?

採用された回答

Vieniava
Vieniava 2011 年 2 月 10 日
You can always "physically" delete row-data:
A=rand(4,3);
th=uitable('Data', A);
A(4,:)=[];
set(th, 'Data', A);

その他の回答 (1 件)

slumberk
slumberk 2011 年 2 月 11 日
@vieniava
thx a lot =)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by