Announcements
Hey all,
I'm looking for a solution to make checkbox on my form tree control.
I found some Microsoft documentation on it but i didnt understand how it works or where to write the specific code.
Also, do you know some standard form example with this kind of tree control i didnt find on D365 ?
Thanksfully.
What i need was just an explanation of the Ms documentation to have checkbox working with my tree control.
And also i wanna be able to modify display state when checked
Sorry for couldnt explain it better
Thanks for trying
No, sorry, it's still not clear to me what you need.
Hi goshoom
Sorry for my poor explanation.
That's a partial action, when i clicked the child item, the ascendant items are checked too still parent node.
There when parent node is clicked all child element descending are clicked too however its deep or not
Sorry, but I have no idea what you mean by "it should tick all ascendant still parent node with partial action checking". Please don't be afraid of using multiple sentences.
If i m ticking a child first it should tick all ascendant still parent node with partial action checking
And if i'm ticking parent node first it should tick all descendant child however how deep it is
The first thing you'll need is the currently selected record. Do you know how to do it or not?
Does you specification means that if I tick a child, it'll also tick all its descendents, and also the parent node and all it's descendents regardless of how deep? Or did you mean something else? Your specification isn't detailed enough...
For example
if i select a child the parent node should have the partial checking color
if i select parent, childs must have the same checked cross also
Do you mean children and the parent node of the currently selected node? Or how do you identify the node you're interested in?
The logic i need for that part is a partial checking when a child is clicked and checkbox checked when a parent is clicked.
Like the pictures on the documentation.
Here parent
and here from child
For now when i just change the checkbox property checkbox on treecontrol to yes i just get the checkbox but could't check anything
André Arnaud de Cal...
293,302
Super User 2025 Season 1
Martin Dráb
232,114
Most Valuable Professional
nmaenpaa
101,156
Moderator