onAfterAdd
fires after adding an item to the datastore
function onAfterAdd( // the client-side ID of the new data item id: string|number, // the index, at which the new item was added index: number): void
Example
Section titled “Example”grid.data.attachEvent("onAfterAdd", function(id, index){ console.log("New record was added!");});
Details
Section titled “Details”The event does not fire for rows that were added during loading (parsing) from an external file or object.