App Designer User edit/update table
古いコメントを表示
Hello,
I am new to app designer so forgive me for asking silly questions:
I have loaded an cell array data from excel into my app design table:
and I would like to know how can a user update the value in cell?
I have created a call back function below that It's supposed to responde to user commond whenever the table is clicked
function CBICDispCellEdit(app, event)
indices = event.Indices;
newData = event.NewData;
app.table.ColumnEditable=[false,false,false,false,false,false,true];
app.table.Cmd=categorical({'open';'close'});
But nothing happened when I clicked on the table...
Is there anything I am missing here? Thanks
採用された回答
その他の回答 (1 件)
John K. George
2021 年 7 月 6 日
0 投票
Hi Kojiro,
I'm trying to implement your solution after reading an excel file. Please see attached. I have taken a slightly different approach due to my contraints but I'm hoping I can still use your implementation - w/modification. thx.
John
2 件のコメント
John K. George
2021 年 7 月 6 日
What am I missing? The dropdowns are still not working when I run from AppDesigner. I can only highlight the column values - no dropdowns.
Kojiro Saito
2021 年 7 月 7 日
Could you post your question in a new thread, please?
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

