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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T07:26:50+00:00 2026-05-21T07:26:50+00:00

I need specific IDs on ExtJS generated window buttons, but I’m having trouble specifying

  • 0

I need specific IDs on ExtJS generated window buttons, but I’m having trouble specifying the ID. The documentation claims that this should be possible, but I still get an autogenerated id when I specify my own.

What gives?

dialog = new Ext.Window({
            closeAction:'hide',
            plain: true,
            buttons: [
                {
                    id: 'my-dialog',
                    text: 'Done',
                    handler: function() {
                        dialog.hide();
                    }
                }
            ],
            items:new Ext.Panel({
                applyTo:'add-document-popup-panel'
            }),
            title: 'Add Documents',
            layout: 'fit',
            resizable: false,
            draggable: false,
            width: 300,
            height: 300,
            modal: true
        });
    }
    dialog.show(this);
  • 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-21T07:26:51+00:00Added an answer on May 21, 2026 at 7:26 am

    Check this topic: http://www.sencha.com/forum/showthread.php?24433-CLOSED-Cannot-assign-id-to-button-extjs-bug

    The id of the container of the button is set, not the HTML button itself.

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

Sidebar

Related Questions

This is a general question, but I'll explain my specific need at the moment:
I need to store app specific configuration in rails. But it has to be:
Having trouble converting the following code from dealing with IDs to Classes. Basicly what
I am wondering, do you need a specific device driver to read a usb
I need to disable specific keys (Ctrl and Backspace) in Internet Explorer 6. Is
I need to check specific positions in an NSArray to see if they have
I need to kill specific worker thread in my application. I don't have any
I need to index specific strings with other strings and I can't really find
What is the best practice when you need to authenticate specific OperationContracts , while
A specific example I need to generate a random number between 0 and 2,

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.