Drag & Drop Hierarchy Tree component is based on Parent-Child hierarchy. It is used for dragging and dropping child items or parent's items from one position to another position. In this component we created a block (Hierarchy List) in blank module and used its dependency in Hierarchy Tree Module.
The actions which are used in this component are mentioned below
Block Actions (Hierarchy List)
HierarchyTreeCreateOrUpdate
Create or update hierarchical tree items.
Filter_List
Getting the filtered hierarchy list data.
Add_Hierarchy_OnClick
Create new hierarchical items (new child item).
Edit_Hierarchy_OnClick
Update old hierarchical item (old child item).
OnInitialize
Check the present parent items and their children's items.
OnRender
Render the java script which is used for drag and drop functionality.
ToggleShow
Used for Showing and hiding the children's items of the hierarchy tree.
UpdateHierarchyParent
Update parent hierarchy of dragged item.
Screen Actions
SaveHierarchyDetails
Perform the create hierarchy item details.
Update_Detail
Update Parent hierarchy
Get the filter list values.