occurs before an item is adding to datastore
obj | object | data for a new item |
index | string|number | an index, at which a new item will be added |
myChart.attachEvent("onBeforeAdd", function (obj, index){
//any custom logic here
});
Event can be blocked, returning false will prevent normal reaction of component.
Event name is case insensitive.
Back to top