Working with data in table

16 vues (au cours des 30 derniers jours)
Rupesh Uprety
Rupesh Uprety le 5 Juin 2020
Commenté : Ameer Hamza le 7 Juin 2020
I want to insert data in a particular collumn in table in app designer in the form 1,2 and not as 12 for certain cells. How do i do it ? Can anyone help?
Thanks

Réponse acceptée

Ameer Hamza
Ameer Hamza le 5 Juin 2020
You can use data property to change data of a uitable object
app.UITable.Data{2,3} = '1,2';
It will set 2nd row of 3rd column to '1,2'.
  2 commentaires
Rupesh Uprety
Rupesh Uprety le 7 Juin 2020
i want to do it for all the cells in a particular column and i want the data to be entered by the user themselves. How do i do that. ????
Ameer Hamza
Ameer Hamza le 7 Juin 2020
In the app designer, you can set the column of the uitable to be editable in the component browser panel. It will allow the user to change the cells of the table directly.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by