Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
590
trigger edit mode from server side
posted

I am using my own custom add row button on a grid, it runs some code, and then calls Rows.Add() on server side

 After the row is added I would like to jump to the first cell and be in the edit mode.

 I have the following client script but I can only get it to fire using the grids built in add functionality, how can i get this to fire using the approach above?

function dgSeminars_AfterRowInsert(gridName, rowId, index){
        var grid = igtbl_getGridById('dgSeminars');
        grid.Rows.getRow(rowId).getCell(1).beginEdit();
}