JavaScript/jQuery TreeList - editing.changes
An array of pending row changes.
insertAfterKey
A key that identifies a record after which a new record should be inserted. Applies only if the type is "insert".
The following code inserts a new record after a record with key 10:
changes.push({ type: "insert", data: { ... }, insertAfterKey: 10 });
insertBeforeKey
A key that identifies the record before which a new record should be inserted. Applies only if the type is "insert".
The following code inserts a new record before a record with key 5:
changes.push({ type: "insert", data: { ... }, insertBeforeKey: 5 });
key
The key of the row being updated or removed.
The key property supports a simple and composite keys.
changes.push({ type: 'update', data: { FirstName : 'name1', LastName: 'name2' } key: 1 // simple key // or ... key: {ID: 1, SecondID: 2} // composite key });
If you have technical questions, please create a support ticket in the DevExpress Support Center.