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 3500238
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T12:42:34+00:00 2026-05-18T12:42:34+00:00

I am attempting to alter the value of a progress bar in ExtJS, I

  • 0

I am attempting to alter the value of a progress bar in ExtJS,

I render the progress bar like this:

var simple = new Ext.FormPanel({
        labelWidth: 75, // label settings here cascade unless overridden
        url:'save-form.php',
        frame:true,
        title: 'myAPI',
        bodyStyle:'padding:5px 5px 0',
        width: 350,
        defaults: {width: 230},
        defaultType: 'textarea',

        items: [{
                fieldLabel: 'Record ',
                name: 'first',
                id: 'record1',
                allowBlank:false
            },{
                fieldLabel: 'Last Name',
                name: 'last'
            },{
                fieldLabel: 'Company',
                name: 'company'
            }, {
                xtype: 'dataview',
                name: 'email',
                vtype:'email'
            },{
                xtype: 'progress',
                name: 'mybar',
                id: 'mybar',
                value: bar
            }
        ],
        buttons: [{
            text: 'Start',
            handler: clicked
        },{
            text: 'Cancel'
        }]     
    });
    simple.render(document.body);

And I am trying to update the progress bar like this:

var mybar = Ext.get('mybar').updateProgress(bar);

But I’m getting this in chrome:

Uncaught TypeError: Object [object Object] has no method ‘updateProgress’

Thanks!

  • 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-18T12:42:34+00:00Added an answer on May 18, 2026 at 12:42 pm

    http://dev.sencha.com/deploy/dev/docs/?class=Ext

    According to the documentation:

    get( Mixed el ) : Element
    Retrieves Ext.Element objects. This method does not retrieve Components. This method retrieves Ext.Element objects wh…
    Retrieves Ext.Element objects.

    This method does not retrieve Components. This method retrieves Ext.Element objects which encapsulate DOM elements. To retrieve a Component by its ID, use Ext.ComponentMgr.get.

    Uses simple caching to consistently return the same object. Automatically fixes if an object was recreated with the same id via AJAX or DOM.

    —

    So, simply use Ext.ComponentMgr.get(‘mybar’).updateProgress

    In addition, the updateProgress function is defined as follows:

    updateProgress( [Float value], [String text], [Boolean animate] ) : Ext.ProgressBar

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

Sidebar

Related Questions

Attempting to use the data series from this example no longer passes the JSONLint
I'm attempting to create a div tag and then alter it via css, but
Im attempting to use Silverlight and MVC together. After creating a simple Silverlight application
I am new to using properties, so I put together a simple test as
I am attempting to sort an ArrayList based on the value of a long
I am attempting to do a select on a row and update the value.
Attempting to upload a video, and this is the response I get back (after
I am attempting to add labels/axis/titles/etc to a D3 bar graph. I can get
I've been attempting to figure this out for a little while now, and it's
I am attempting to get a hidden form value which contains json, after the

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.