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

  • Home
  • SEARCH
  • 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 7555691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:40:26+00:00 2026-05-30T11:40:26+00:00

In my ExtJS 4.0.7 app I have some 3rd party javascripts that I need

  • 0

In my ExtJS 4.0.7 app I have some 3rd party javascripts that I need to dynamically load to render certain panel contents (some fancy charting/visualization widgets).

I run in to the age-old problem that the script doesn’t finish loading before I try to use it. I thought ExtJS might have an elegant solution for this (much like the class loader: Ext.Loader).

I’ve looked at both Ext.Loader and Ext.ComponentLoader, but neither seem to provide what I’m looking for. Do I have to just “roll my own” and setup a timer to wait for a marker variable to exist?

  • 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-05-30T11:40:28+00:00Added an answer on May 30, 2026 at 11:40 am

    I’ve looked at both Ext.Loader and Ext.ComponentLoader, but neither
    seem to provide what I’m looking for

    Really looks like it’s true. The only thing that can help you here, I think, is Loader’s injectScriptElement method (which, however, is private):

    var onError = function() {
      // run this code on error
    };
    var onLoad = function() {
      // run this code when script is loaded
    };
    Ext.Loader.injectScriptElement('/path/to/file.js', onLoad, onError);
    

    Seems like this method would do what you want (here is example). But the only problem is that , … you know, the method is marked as private.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an MVC app in Extjs 4 which has a View (extending Ext.panel.Panel
All, I have a JsonStore backing a form panel in my extjs app. I
I'm using ExtJS 2.2.1 In my web app, I used to have a TreePanel
I am using the ExtJS framework and I have the following handler that is
I have an ExtJS xtemplate that is throwing errors because of the way a
I have a MVC app built with extJS 4. I want to disable a
I have been using Selenium a lot lately (testing an ExtJs app) and while
So I have a need to create an ExtJS component (version 2.3.0). The component
I have a web app for commercial property management that needs spreadsheet-like functionality for
I have a web app built using ExtJS framework. I have a tree in

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.