Adding a row [default editable cell]

I’m trying to make it so when a new row is added, a certain column is automatically in edit mode. I can get the row created, and the selected but it will not automatically go into edit mode. It seems simple enough but, I can’t seem to get it…

            function addRow()
            {
                var newId = array.length;
                mygrid.addRow(newId,"",mygrid.getRowsNum());
                mygrid.selectCell(newId,1);
                mygrid.editCell();

            }

Once the row is created, if I double click the cell, it goes into edit mode just fine, so I know it is editable.

Please check this topic viewtopic.php?f=21&t=16273

Thanks alot, that is exactly what I needed.