thank you very much for your reply. That looks quite good. Unfortunately I always get an error with the GridViewElement.ActiveEditor which seems to be Nothing (in VB).
This is my code (translated into VB)
Private Sub AutoClick(ByVal rowindex As Integer, ByVal colindex As Integer)
Dim args As GridViewCellEventArgs = New GridViewCellEventArgs(rgv_Prefixes.Rows(rowindex), rgv_Prefixes.Columns(colindex), rgv_Prefixes.GridViewElement.ActiveEditor)
rgv_Prefixes.MasterTemplate.EventDispatcher.RaiseEvent(Of GridViewCellEventArgs)(EventDispatcher.CommandCellClick, rgv_Prefixes, args)
When runnig the code GridViewElement.ActiveEditor is always Nothing. Any idea?