Blazor DataGrid @onkeypress

Is there a way to wire an event handler to @onkeypress, @onkeyup or @onkeydown at the grid level? I want to react to specific key combinations when a grid is active. Active in this context means at least 1 row is selected. Otherwise, is there a way to wire those events at the row level?

You can add any arbitrary attribute to the DataGrid. You can also use RowRender to add attributes to rows.