Datatable Angular events not fired

Event handling functions are not fired if the Datatable is configured from scope variable. The table must be initialized from scope variable because html-based config does not support all required params. Is there any workaround?

<div webix-ui="datatable_config" webix-data="records" webix-event="onItemClick = showRecord(id, details)"></div>

It can be fixed, but if you are already using scope variable for config, isn’t it will be more convenient to define event handlers there, than configuring part of UI in js code and part of UI in HTML

Yes it is more convenient indeed to define event handler inside config object. I was reading the doc “Event Handling With Angular” too strict as I forgot that on-declaration inside config object. Thanks!