Skip to main content

MVCxTreeListBatchUpdateValues<T, S>.SetInsertedNodeKey(MVCxTreeListNodeInfo<T>, Object) Method

Sets a key for the inserted node.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void SetInsertedNodeKey(
    MVCxTreeListNodeInfo<T> node,
    object insertedKey
)

Parameters

Name Type Description
node MVCxTreeListNodeInfo<T>

The node.

insertedKey Object

The key.

Remarks

Controller:

public ActionResult BatchEditingUpdateModel(MVCxTreeListBatchUpdateValues<EditablePost, int> updateValues, BatchEditingDemoOptions options) {
    // ...
    updateValues.SetInsertedNodeKey(node1, newNodeKey);
}
See Also