factory 发表于 2012-10-26 14:35
function oncellbeginedit(e){
e.editor //当前编辑的单元格的编辑器对象
}
oncellbeginedit(e)事件加在这里没有反应,我换成了onActionRenderer(e) 事件?
function onActionRenderer(e) {
var grid = e.sender;
var record = e.record;
var rowIndex = e.rowIndex;
var typeId = record.typeId;
var materialId = record.materialId;
alert("typeId="+typeId);
//alert("materialId="+materialId);
var bb = e.editor
alert("bb="+bb)
var aa = mini.get("materialId");