TreeView控件,如何控制某些叶子节点不显示复选框 #1499
Answered
by
capdiem
shihuixian
asked this question in
Q&A
-
现在设置了Selectable之后,所有的节点都会显示一个复选框,有没有办法控制某些节点不显示复选框? |
Beta Was this translation helpful? Give feedback.
Answered by
capdiem
Aug 28, 2023
Replies: 2 comments 2 replies
-
@shihuixian 用 @bind-Active, Activatable 和 MultipleActive |
Beta Was this translation helpful? Give feedback.
1 reply
-
@shihuixian selectable开启时没有办法关闭,你可以尝试下不开启selectabe的时候,使用LabelContent或者PrependContent插槽里使用SimpleCheckbox,得自己控制激活项~ |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
shihuixian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@shihuixian selectable开启时没有办法关闭,你可以尝试下不开启selectabe的时候,使用LabelContent或者PrependContent插槽里使用SimpleCheckbox,得自己控制激活项~