[]
        
(Showing Draft Content)

C1.Win.FlexGrid.RowCollection.InsertNode

InsertNode Method

InsertNode(int, int)

Adds a new Node row to the row collection at a specified position.

Declaration
public Node InsertNode(int index, int level)
Parameters
Type Name Description
int index

The position where the new node row will be inserted.

int level

Outline level for the new node row.

Returns
Type Description
Node

A reference to the Node that was added to the collection.

Remarks

This method is especially useful when the grid is bound to a data source, because in this case you can't change the value of the IsNode property. When the grid is unbound, you can add rows and turn them into nodes later using the IsNode property.