Check documentation for the latest version of dhtmlxSuite onAfterAdd DHTMLX Docs

onAfterAdd

fires when item adding is finished

void onAfterAdd(object obj, [number index] );
objobjectthe object which was added
indexnumberindex at which the item was added, optional

Example

myList.attachEvent("onAfterAdd", function (obj, index){
    // your code here
});

Back to top