extjs grid 编辑事件

listeners: {
    	'edit': function(editor, e) {
    		var record = e.record;
    		alert("id:" + record.get("id"));
    	}
    }

grid.on('edit', function(editor, e) {
    // commit the changes right after editing finished
    e.record.commit();
};
原文地址:https://www.cnblogs.com/webu/p/2770672.html