onAfterAdd
fires after adding an item to the datastore
void onAfterAdd(string|number id,number index);
string|number | the client-side ID of the new data item | | index |
number | the index, at which the new item was added |
Example
view.data.attachEvent("onAfterAdd", function(id, index){
webix.message("New record was added!");
});
Details
The event does not fire for rows that were added during loading (parsing) from an external file or object.
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.