Cell is automatically focused out and saved when we open the dropdown in Batch edit mode only when we enabled theallowFilteringproperty as true. please refer the below sample for more information.
Sample: check the attachments
Note: Once we fix the issue, we need to check the cell is properly saving or not with out throwing script error. Please refer the below script error screenshot.