Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8909749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:30:39+00:00 2026-06-15T03:30:39+00:00

Using ExtJs 4.1 Is there a way to query all floating components (windows, message

  • 0

Using ExtJs 4.1

Is there a way to query all floating components (windows, message boxes, etc.)?

My aim is to remove (destroy) all floating objects. It would be sufficient to “get” them on the first hand.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T03:30:41+00:00Added an answer on June 15, 2026 at 3:30 am

    Well simply do it by using the Ext.WindowManager which is responsible for all floating components by default.

    Following should work:

    Ext.WindowManager.each(function(cmp) { cmp.destroy(); });
    

    Here’s a example JSFiddle:

    Ext.create('Ext.window.Window', {
        title: 'Hello',
        height: 200,
        width: 400,
        layout: 'fit',
        items: {  // Let's put an empty grid in just to illustrate fit layout
            xtype: 'grid',
            border: false,
            columns: [{header: 'World'}],                 // One header just for show. There's no data,
            store: Ext.create('Ext.data.ArrayStore', {}) // A dummy empty data store
        }
    }).show();
    
    Ext.Function.defer(function(){Ext.WindowManager.each(function(cmp) { cmp.destroy(); })}, 5000);
    

    For further reading on DOM-Query

    Edit destroy only defined types

    For that case go with the xtype of the component and check it.

    Ext.WindowManager.each(function(cmp) { if (cmp.xtype === 'window') cmp.destroy(); });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using ExtJS DataView for my image gallery. This is my way for
Is there are any way to add tooltip for Extjs accordion item headers.I am
For a scenario using 0 ASP.NET controls at all but rather an 100% extJS
In an ExtJS GridPanel, is there a way to design a column whose sole
Using ExtJs. I'm trying to design a main which is divided into three sub
I've create a custom theme using Sencha ExtJS and the compass compile and sencha
I am using ExtJS 4. I have created a tree panel as var treeStore
I'm using extjs mvc style to create a web application. I don't have any
I am using ExtJS (3) and just trying to populate a combobox/drop down using
Disclaimer: I am using ExtJS 3, but I don't think it's very relevant to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.