Simulate cell edition

I have set up an edit handler on a grid using setOnEditCellHandler. Now
I need to simulate an edition on a given row, so that this handler is
called. I know I can call



grid.selectCell(rowIndex, 0, false, false, true);



in order to open a cell editor on cell (rowIndex, 0), but this is not
what I need (although it is close, because once the user clicks outside
the cell, the handler is called).



So, can this be done somehow?



Thanks.

If you need to call handler you can do it as

    grid.callEvent(“onEditCell”,[stage,rid,cind])

such way to call events work for all event types