fires after adding item to datastore

void onAfterAdd(string|number id,number index){ ... };


idstring|numberclient-side ID of the new data item
indexnumberindex, at which a new item was added


$$('some').attachEvent("onAfterAdd", function(id, index){
    webix.message("New record was added!");


Event doesn't fire for rows which were added during loading(parsing) from an external file or object.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix mvc library and page of javascript pivot table product.