Check documentation for the latest version of dhtmlxSuite onAfterAdd DHTMLX Docs

onAfterAdd

occurs after an item is added to datastore

void onAfterAdd(object obj,number index);
objobjectdata for a new item
indexnumberan index, at which new item was added

Example

myChart.attachEvent("onAfterAdd", function (obj, index){
//any custom logic here
});

Details

Event name is case insensitive.

Back to top