extjs 怎样判断 grid 有修改过

 我来答
碧血玉叶花
推荐于2016-09-01 · TA获得超过4976个赞
知道大有可为答主
回答量:6154
采纳率:0%
帮助的人:1641万
展开全部
grid.on('edit' , function(editor , e){
var month = Ext.util.Format.date(Ext.getCmp("month").getValue(), 'Y-m')+'-01';
Ext.Ajax.request({
url: "qam_metricsdata_post.cgi?project_id=[% project_id %]&type=grid&month="+month,
params:{

requirement_coverage : store_grid.findRecord("name2","<span style='color:blue';>Requirement Coverage By Testing</span>").get("value2"),
ontime_delivery_rate : store_grid.findRecord("name1","<span style='color:blue';>On Time Delivery Rate</span>").get("value1"),
//requirement_change_number : store_grid.findRecord("name2","<span style='color:blue';>Requirement Coverage By Testing</span>").get("value2"),
iteration_number : store_grid.findRecord("name1","<span style='color:blue';>Number of iteration (Drop, Sprint)</span>").get("value1"),
unit_test_model_code_coverage : store_grid.findRecord("name2","<span style='color:blue';>Unit Test Code Coverage – Model</span>").get("value2"),
unit_test_handwritten_code_coverage : store_grid.findRecord("name2","<span style='color:blue';>Unit Test Code Coverage – Handwritten</span>").get("value2"),
total_VERY_GOOD_check_points : store_grid.findRecord("name2","<span style='color:blue';>Total “very good” check points in quality gate</span>").get("value2"),
quality_gate_compliance : store_grid.findRecord("name1","<span style='color:blue';>Quality Gate Compliance</span>").get("value1"),
process_maturity : store_grid.findRecord("name2","<span style='color:blue';>Process Maturity</span>").get("value2")

},
success: function(response, opts) {
Ext.toast.msg('Congratulations', 'Save Success!');
},
failure: function(response, opts) {
alert("<span style='color:blue';>Save Failed!</span>");
}
});
});
ZESTRON
2024-09-04 广告
在Dr. O.K. Wack Chemie GmbH,我们高度重视ZESTRON的表界面分析技术。该技术通过深入研究材料表面与界面的性质,为提升产品质量与可靠性提供了有力支持。ZESTRON的表界面分析不仅涵盖了相变化、化学反应、吸附与解吸... 点击进入详情页
本回答由ZESTRON提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式