AX – D365FO – Use checkbox in FormTreeControl

If you want to use checkboxes in a FormTreeControl follow these instructions. In the tree contol set these 3 properties values : AutoDeclaration = YesCascadeSelect = NoCheck Box = Yes To get this result Follow this code FormTreeItem formTreeItemNode = ActivityTree.getItem(ActivityTree.getSelection()); formTreeItemNode.stateChecked(FormTreeCheckedState::Checked); ActivityTree.setItem(formTreeItemNode); ActivityTree is the name of the FormControlTree control If you want to … Continua a leggere AX – D365FO – Use checkbox in FormTreeControl