Grid preCommit Bean

How to get the Bean in preCommit to do some validations with the data?

Just found a way.

You can use below to loop throught the fields

for(Field<?> f:commitEvent.getFieldBinder().getFields()){..} And this can get the propertyId of each

grid.getEditorFieldGroup().getPropertyId(f)