fires after adding an item to the datastore

void onAfterAdd(string|number id,number index);
idstring|numberthe client-side ID of the new data item
indexnumberthe index, at which the new item was added


view.data.attachEvent("onAfterAdd", function(id, index){
    webix.message("New record was added!");


The event does not fire for rows that were added during loading (parsing) from an external file or object.

See also
Back to top