首先在onLoadSuccess中添加计算函数:计算方法按各自业务须要,我作了一个判断非数app
而后再在gatagrid表格添加行,$('#div').datagrid('appendRow', {...})函数