Share via


EcoResCategoryTreeDatasource.selectionChanging Method [AX 2012]

Executes the form data source query whenever the current selection in the tree is changing.

Syntax

public boolean selectionChanging(
    FormTreeItem _oldItem, 
    FormTreeItem _newItem, 
    FormTreeSelect _how)

Run On

Client

Parameters

Return Value

Type: boolean
true if the selection change should be vetoed; otherwise, false. A boolean value that indicates whether to veto selection change or not.

See Also

Reference

EcoResCategoryTreeDatasource Class