App Designer User edit/update table
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
John K. George
le 6 Juil 2021
0 votes
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 commentaires
John K. George
le 6 Juil 2021
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
le 7 Juil 2021
Could you post your question in a new thread, please?
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

