Add new Row in grid

Hi,

Adding new row in grid focus is on previous row not on the current row.

Method addRow() doesn’t automatically select new row. To select new row in grid you should use selectRow() or selectRowById() methods:
function doAddRow(){
var newId = (new Date()).valueOf();
grid.addRow(newId,“text1,text2”,1);
grid.selectRowById(newId);
}