Occurs after item adding is finished.
data.attachEvent("onAfterAdd", function (id, pos){ //any custom logic here });
Parameters: