validate Edit
Parameters
validate Edit
Checks a value the user is trying to commit, returning an error message to reject it or null to accept. A rejected commit keeps the editor open with the message on DataTableState.editError. This is the guard that stops unparseable text ever reaching onCellEdit.