MVCxTreeListBatchUpdateValues<T, S>.SetInsertedNodeKey(MVCxTreeListNodeInfo<T>, Object) Method
Sets a key for the inserted node.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
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