I am trying to control the edit feature of my ng2-smart-table, but the code I have isn't working. Am I missing something?
HTML
<ng2-smart-table [settings]="settings" [source]="source" (edit)="onEdit($event)"></ng2-smart-table>
Component
onEdit(event:any):void{
console.log("edit model");}
I want to add new buttons and customize their behavior. Can I subscribe to that event and if so, how can I do it?