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
- _oldItem
Type: FormTreeItem Class
The current selected item.
- _newItem
Type: FormTreeItem Class
The item now being selected.
- _how
Type: FormTreeSelect Enumeration
How the new item is being selected.
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.