摘要: 关键代码:(如插入按钮插入行以前判断gird是否为编辑状态)$('#btnIns').click(function (event) { if ($("#tbPaymentTerm_iledit").hasClass("ui-state-disabled")) { //tbPaymentTerm为Grid绑定ID;tbPaymentTerm_iledit为Grid编辑行编辑按钮的ID;ui-state-disabled为编辑行编辑按钮样式 $.jAlert("please save the record."); ... 阅读全文
posted @ 2013-09-26 11:52 刀叨 阅读(1006) 评论(0) 推荐(0) 编辑