Is MultiSelect possible with the Checkbox Tree? (App Designer)

10 vues (au cours des 30 derniers jours)
Dmitri Visser
Dmitri Visser le 18 Mar 2021
Commenté : Markus Leuthold le 22 Oct 2025 à 15:47
The normal tree app component has the MultiSelect property. The checkbox tree (introduced in 2021a), however, has not and, so far, I have not been able to enable the selection of multiple child nodes of the checkbox tree. Is it possible to circumvent this limitation?

Réponses (1)

Nikhil Sonavane
Nikhil Sonavane le 26 Mar 2021
Modifié(e) : Nikhil Sonavane le 26 Mar 2021
I tried to reproduce your issue but couldn't. In MATLAB 2021a, I am able to create a checkbox tree where I can select multiple child nodes. Can you add some more details about the issue that you are facing?
You can refer to the documentation for more details
  4 commentaires
Martin
Martin le 1 Mar 2024
In Matlab 2023b it is still not possible
Markus Leuthold
Markus Leuthold le 22 Oct 2025 à 15:47
Still not possible in Matlab 2025b
>> hTreeRoot.SelectedNodes = hTreeRoot.Children(1:3)
'SelectedNodes' must be an empty array or a 1-by-1 TreeNode object that is a child in the CheckBoxTree.

Connectez-vous pour commenter.

Catégories

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

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by