Reorderable List Box in App Designer
6 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Arvind Narayanan
on 30 Jul 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 Comments
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!