Reorderable List Box in App Designer
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I'm building an app where I have a variable number of items based on loaded data. I would like to populate a listbox but allow the user to re-order the items. I found this file exchange code to do this but it seems to be broken in never version of Matlab. Does anyone have any idea how to implement this in R2018a using App Designer?
Thanks
0 commentaires
Réponses (1)
Arvind Narayanan
le 30 Juil 2018
Hi,
Reordering the content within a listbox can be simplified to basically reordering the contents of the cell array 'app.ListBox.Items'. This contains the options within the listbox and any operation done to this array will result in reordering of the content within the listbox.
Some of the functions you can consider for reordering the array are:
Hope this helps!
Thanks,
Arvind
0 commentaires
Voir également
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!