Viewport.js 588 B

123456789101112131415161718192021222324
  1. Ext.define('erp.view.common.TreepanelDbfind.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. region: 'north',
  10. xtype: "panel",
  11. anchor: '100% 100%',
  12. layout : 'fit',
  13. items : [{xtype: 'hrOrgStrDbfindTree'}]
  14. }/*,{
  15. region: 'south',
  16. xtype: "panel",
  17. anchor: '100% 5%',
  18. layout : 'fit',
  19. items : [{xtype: 'erpMultiDbfindToolbar'}]
  20. }*/]
  21. });
  22. me.callParent(arguments);
  23. }
  24. });