Uitables and widgets question
1 回表示 (過去 30 日間)
古いコメントを表示
I have 2 questions.
1) Can checkboxes be implemented into the UItable when building a gui.
2) If so, can rows and checkboxes be added dynamically to the UItable.
0 件のコメント
採用された回答
Tom
2013 年 6 月 25 日
編集済み: Tom
2013 年 6 月 25 日
1) Yes
2) Yes
you can change the column format of the table at any point, using the ColumnFormat field of the uitable:
T = uitable('Data',{'a',false;'b' true},...
'ColumnFormat',{[] , 'numeric'},...
'ColumnEditable',[false true]);
pause(1)
set(T,'ColumnFormat',{[],'logical'})
0 件のコメント
その他の回答 (4 件)
James Hendren
2013 年 6 月 25 日
14 件のコメント
Tom
2013 年 6 月 25 日
To do it in GUIDE, you right click on the table, select Table Property Editor, then in the Columns tab there is an option to select what data format each column will take: make it 'logical'.
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!