onAfterAdd

fires after adding an item to the datastore

void onAfterAdd(string|number id,number index);
id
string|numberthe client-side ID of the new data item index
numberthe 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
  • API
  • Articles
  • 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.