Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomOrgChart.Insert(TdxOcNode,TdxOcNodeData) Method

Inserts a new node to a tree structure.

#Declaration

Delphi
function Insert(Node: TdxOcNode; Data: TdxOcNodeData): TdxOcNode;

#Parameters

Name Type
Node TdxOcNode
Data TdxOcNodeData

#Returns

Type
TdxOcNode

#Remarks

Creates a new node and adds it to the data structure directly before the Node parameter. The Ptr parameter sets the Data property value of a new node. A reference to the new node returns as a result of the function call.

See Also