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

10 ビュー (過去 30 日間)
Dmitri Visser
Dmitri Visser 2021 年 3 月 18 日
コメント済み: Markus Leuthold 2025 年 10 月 22 日 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?

回答 (1 件)

Nikhil Sonavane
Nikhil Sonavane 2021 年 3 月 26 日
編集済み: Nikhil Sonavane 2021 年 3 月 26 日
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 件のコメント
Martin
Martin 2024 年 3 月 1 日
In Matlab 2023b it is still not possible
Markus Leuthold
Markus Leuthold 2025 年 10 月 22 日 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.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by