MVCxTreeListBatchUpdateValues<T, S>.SetInsertedNodeKey(MVCxTreeListNodeInfo<T>, Object) Method
In This Article
Sets a key for the inserted node.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
node | MVCx |
The node. |
inserted |
Object | The key. |
#Remarks
Controller:
public ActionResult BatchEditingUpdateModel(MVCxTreeListBatchUpdateValues<EditablePost, int> updateValues, BatchEditingDemoOptions options) {
// ...
updateValues.SetInsertedNodeKey(node1, newNodeKey);
}
See Also