Change cell focus on a perspective table

After I input a new value into a cell on a perspective table is it possible to move down a cell and be able to type into that newly selected cell?

The code below seems to move the focus down one cell but not in such a way that i can begin typing.

OnEditCellCommit

def runAction(self, event):

# Step 1: Update the value in the current cell
valueToSet = event.value
self.props.data[event.row]["Value"]["value"] = valueToSet

# Step 2: Increment the selected row
newRow = event.row + 1  # Increment row index

# Check bounds to avoid errors
if newRow < len(self.props.data):
    self.props.selection.selectedRow = newRow  # Update row selection
    
    # Step 3: Set editingCell to the next cell
    self.props.editingCell = {
        "row": str(newRow),   # Target next row (string if required)
        "column": "Value"     # Target same column name
    }
self.focus() 

image

Related questions: