Calling 'appendRow' method can only append a row to the end of rows. This appended row is not editable. When calling 'addRow' method to add a new row, the added row is editable. The 'addRow' method also allows the user to insert a new row to any position.
// append an empty row
$('#dg').edatagrid('addRow');
// append an empty row as first row
$('#dg').edatagrid('addRow',0);
// insert a row with default values
$('#dg').edatagrid('addRow',{
index: 2,
row:{
name:'name1',
addr:'addr1'
}
});