onAfterAdd

fires after adding item to datastore

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

Parameters

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

Example

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

Details

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.