I am using a data grid and have the new/edit style set to inline at bottom. when creating or editing an object the attributes (String) are not limited to the defined limits set in the domain model/entity. When the cell loses focuses Mendix tries to commit the update to the Domain Model and an error is received because the attribute length is longer than the limit set. Is there any way to limit the characters when editing a data grid inline, similar to the limits set on text boxes?
I do not think this is possible. Even it is not recommended to use the data grid for editing, unless you really need to. Please have a look at the list view, in edit mode. Which has some limitation (no paging support), but have way more options controlling the editing.