Add progressbar inside Ext.window

前端 未结 1 1757
长情又很酷
长情又很酷 2021-01-26 07:12

Could anyone help me insert below progress bar inside Ext.window? or any other suggestions to add a progress bar inside Ext.window?

   var p = Ext.create(\'Ext.         


        
相关标签:
1条回答
  • 2021-01-26 08:00

    You have multiple ways to do that. You could add the existing progress bar to the existing window:

    window.add(p);
    

    Or add the existing progress bar when creating the window:

    new Ext.Window({
        items: [p]
    );
    

    Or create a new progress bar when creating the window:

    new Ext.Window({
        items: [{
            xtype: 'progressbar'
        }]
    );
    
    0 讨论(0)
提交回复
热议问题