8)Tree Binding editor will appear where select the “DeptTreeViewObj” from the “DataCollection Definition panel”. Select “DepartmentId” and “DepartmentName” from theDisplayAttribute and select “EmpTreeViewObj” from the “Branch Accessor”.And click on the Add New Rule button. This rule will display the Department as the rootnode.Here the
Data Collection Definition
: section specifies the view object which will populate the tree nodes.
Display Attribute section
specifies the attributes to bedisplayed in the tree node. And
Branch Rule Accessor section
specifies the view link which is related to the view object selected in the
Data Collection Definition section.
9)Again select the “EmpTreeVieObj” from the “Data Collection Defination” section , select“FirstName” from the “Display Attribute” section. And click on the “Add New Rule” button. And click Ok .This rule will display the employee’s first name as the leaf node.