Open fullscreen | Source on github | Edit on stackblitz
The datagrid emits composite mouse event which makes it easier to find the elements affected by the user action -
const template = `<ax-datagrid (mouse)="onMouse($event)" [columns]="columns" [rows]="rows"></ax-datagrid>`;
// ...
onMouse({row}){
alert(`row ${row.key} clicked!`);
}Read more: