allows attaching custom handlers to inner events of the component
webix.ui({
view:"datatable",
on:{'onItemClick': function(){alert("you have clicked an item");}}
});
All keys defined in the object will be processed as the names of events, and their values as the related handlers.
The property can be used as an alternative to the attachEvent method.
See the list of Datatable events.