I have this code from 1.3 and I'm not sure how to translate this into 2.0. The DirectEvents part still seems to be correct but then there's no place to put a Command within a DirectEvent.

<DirectEvents>
<Command OnEvent="EditSubmission_Click">
<EventMask ShowMask="true" Target="CustomTarget" CustomTarget="{#{SubmissionGrid}.body};" />
<ExtraParams>
<ext:Parameter Name="command" Value="command" Mode="Raw"/>
<ext:Parameter Name="SubmissionID" Value="record.data.SubmissionId" Mode="Raw"/>
</ExtraParams>
</Command>
</DirectEvents>