用jQuery动态添加行如何没添加成功,后台数据都有了,前端代码不知道哪里写错了

用jQuery动态添加行怎么没添加成功,后台数据都有了,前端代码不知道哪里写错了
公司用的是easyui,但是我不会,所以就用jQuery写的,后台数据我看都是对的,就是那句添加语句不知道哪里写错了
然后就是没添加进去,求大神帮我看看错在哪里
以下是代码
用jQuery动态添加行如何没添加成功,后台数据都有了,前端代码不知道哪里写错了
用jQuery动态添加行如何没添加成功,后台数据都有了,前端代码不知道哪里写错了
用jQuery动态添加行如何没添加成功,后台数据都有了,前端代码不知道哪里写错了



------解决思路----------------------
自己好好看DataGrid的API
http://www.jeasyui.com/documentation/index.php 


appendRow  row  Append a new row. The new row will be added to the last position:

$('#dg').datagrid('appendRow',{
name: 'new name',
age: 30,
note: 'some messages'
});



insertRow  param  Insert a new row, the param contains following properties:
index: the row index to insert into, if not defined, append the new row.
row: the row data. Code examples:

// insert a new row at second row position
$('#dg').datagrid('insertRow',{
index: 1, // index start with 0
row: {
name: 'new name',
age: 30,
note: 'some messages'
}
});