RetailReplenishmentTreeDatasource.canDrop Method [AX 2012]

Indicates whether a drop on a specified target is enabled when the user performs a drag operation.

public FormDrag canDrop(int idx, FormControl dragSource)

Run On

Client

Parameters

idx
Type: int
The ID of the target element in the tree control.
dragSource
Type: FormControl Class
The source of the drag.

Return Value

Type: FormDrag Enumeration
The FormDrag::None enumeration value if the drop is not enabled; otherwise, the FormDrag::Move enumeration value.

The function is overridden to disallow drag and drop functionality.

Show: