EcoResCategoryTreeDatasource.dragDropRestriction Method [AX 2012]
Checks the category hierarchy specific restrictions on dropping on a given target.
Syntax
public FormDrag dragDropRestriction(int _idx, FormControl _dragSource)
Run On
Client
Parameters
- _idx
Type: int
The ID of the target element in the tree control, which is controlled by this class.
- _dragSource
Type: FormControl Class
The source of the drag. The tree control, if valid.
Return Value
Type: FormDrag Enumeration
The FormDrag::None enumeration value if the drop is not enabled; otherwise, the FormDrag::Move enumeration value.
Remarks
The function is overridden to disallow Drag Drop functionality.