How can I Autofill a Cell in a Table?
6 ビュー (過去 30 日間)
古いコメントを表示
I have placed a (3,1) table in a GUI and would like it to autofill the third cell with the same value the user added in the first cell. How can this be done?
0 件のコメント
採用された回答
Walter Roberson
2012 年 6 月 14 日
Set the uitable CellEditCallback property to a routine that checks the Indices field of the eventdata structure, and if the indices are [1 1] then get() the Data property of the uitable, and copy the eventdata New Value property to element {3,1} of that and set() that as the new Data property.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT-Files についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!