日期:2014-05-16  浏览次数:20328 次

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();
};