struggling to understand the eventing in webix.
I’m trying to do something like this (in Typescript):
var dt = new webix.DataCollection()
{
view: 'datatable',
data: dt,
on: {
onAfterAdd: function(id, index){
console.log('onAfterAdd')
}
}
}
Then when I add something to the datacollection I do get the data row showing in the table, but I don’t get the onAfterAdd fired!!