Search results

DataSourceChangedEventArgs API in Angular TreeView API component

Interface for DataSourceChanged event arguments.

Properties

action

string

Return the action which triggers the event

data

{ [key: string]: Object }[]

Return the updated TreeView data. The data source will be updated after performing some operation like drag and drop, node editing, adding and removing node. If you want to get updated data source after performing operation like selecting/unSelecting, checking/unChecking, expanding/collapsing the node, then you can use getTreeData method.

nodeData

{ [key: string]: Object }[]

Return the new node data of updated data source