Borrar filtros
Borrar filtros

expand and collapse functionality other than app designer

2 visualizaciones (últimos 30 días)
Z Chen
Z Chen el 2 de Mayo de 2018
Comentada: Z Chen el 4 de Mayo de 2018
Any suggestion to implement a nested list 1) expand and collapse the list at will 2) trigger an action after click one inner list items. It is similar to Expand and Collapse tree node in App Designer. But I use regular uicontrol. Thanks
  2 comentarios
Ben Drebing
Ben Drebing el 4 de Mayo de 2018
The answer might depend on what version of MATLAB you are using. In newer versions, you can use the uitree function outside of AppDesigner as long as you are creating an uifigure. Is there a reason you need to only use uicontrols?
Z Chen
Z Chen el 4 de Mayo de 2018
I am using R2016b now and can move to the latest version if needed. uitree seems not working as of now. I love to see more suggestions. BTW, after the posting, I found Java Tree Wrapper in the file exchange that works in some level. Anyway, I love to see more on the uitree side and if possible, simple example.... Thanks.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by