How to prevent cascade "Enter"

Greetings,

We have a form and one of the components inside the form is a data grid with inline editing of some basic text boxes.

The problem we are experiencing is when the user hits "Enter" while inline editing, it saves the data grid row as desired, BUT it also invokes the submit button on the outer form.

Any suggestion how to prevent this?

Best wishes,
Ben