# mouse (event)

In addition to the standard DOM keyboard and mouse events the datagrid emits composite mouse event which makes it easier to find the elements affected by the user action -

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