Viewport.js 510 B

1234567891011121314151617181920212223
  1. Ext.define('erp.view.common.multiDbfind.Viewport', {
  2. extend : 'Ext.Viewport',
  3. layout : 'anchor',
  4. hideBorders : true,
  5. initComponent : function() {
  6. var me = this;
  7. Ext.apply(me, {
  8. items : [ {
  9. xtype : "erpMultiDbfindGridPanel",
  10. anchor : '100% 100%',
  11. bbar : {
  12. xtype : 'erpMultiDbfindToolbar',
  13. id : 'pagingtoolbar',
  14. displayInfo : true
  15. }
  16. }, {
  17. xtype : "erpResultDbfindGridPanel",//选中数据grid
  18. anchor : '100% 100%'
  19. }]
  20. });
  21. me.callParent(arguments);
  22. }
  23. });