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

17 次查看(过去 30 天)
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
  3 个评论
Dmitri Visser
Dmitri Visser 2022-9-29
In MATLAB 2022a this is still not possible. Setting the SelectedNodes property to multiple nodes gives the following error:
'SelectedNodes' must be an empty array or a 1-by-1 TreeNode object that is a child in the CheckBoxTree.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop uifigure-Based Apps 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by