js代码
function OnCellBeginEdit(e){
var grid = e.sender;
var record = e.record;
var xq = e.field;
var editor = e.editor;
var time = record.id;
if (time) {
var url = "<%=request.getContextPath()%>/course_queryCourseByTime.action?time="+time+"&xq="+xq;
editor.setUrl(url);
} else {
e.cancel = true;
}
}作者: factory 时间: 2013-10-29 15:39:22
wm3445 发表于 2013-10-29 15:37
js代码
function OnCellBeginEdit(e){
var grid = e.sender;