this.toolbar.add(‘->‘) ---重点是这个箭头,他是控制位置的 this.CompleteDataAction = new Ext.Action({ text : ‘完成‘, scope : this, handler : function(){window.close()} }); this.toolbar.add(this.CompleteDataAction); this.toolbar.add(‘-‘);
原文:http://www.cnblogs.com/zrui-xyu/p/4930264.html