onDblClickRow:function(rowIndex,rowData){
if(obj.editRow!=undefined){
$('#box').datagrid('endEdit',obj.editRow);
}
if(obj.editRow==undefined){
$('#box').datagrid('beginEdit',rowIndex);
obj.editRow=rowIndex;
}
},
onAfterEdit:function(rowIndex,rowData,changes){
obj.editRow=undefined;
}