3.5.0 (vue)

User events

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 -

<template>
    <ax-datagrid @mouse="onMouse" :columns="columns" :rows="rows"></ax-datagrid>
</template>
<script>
// ...

function onMouse({row}){
    alert(`row ${row.key} clicked!`);
}

</script>

Read more: