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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:03:18+00:00 2026-06-04T06:03:18+00:00

I have some buttons in a bottom toolbar of a gridpanel that control adding,

  • 0

I have some buttons in a bottom toolbar of a gridpanel that control adding, and removing records from the row-editing grid.

The handlers are pretty simple: “new” button creates an instance of the model, appends to the grid and then opens a row-editor on the new row; “edit” button just opens the selected row’s row-editor; “remove” destroys the record from the store and refreshes the grid view.

For some reason these buttons don’t lose the focus class that gives them a border when they have the focus. Here is a picture:

enter image description here

In the picture both the “New” button and the “Remove” button have the focus class, when I press the “Edit” button it also keeps the focus classes even after doing a complete row-edit operation and closing the row-editor.

I did find that when I mousedown on one of these permanently “focused” buttons and then mouseup away from it and then click something else the focus class goes away.

I know that I could put a blur handler for all button components in my respective controllers but I would have thought that this functionality was built in so I am asking to see if there is something I missed somewhere in the docs.

The classes that it won’t let go of are these:

x-focus x-btn-focus x-btn-default-toolbar-small-focus

This is with ExtJS 4.1.0 in FF10 on Windows 7. But I did notice similar behavior in ExtJS 4.02 and 4.07, just haven’t needed to handle it until now.

  • 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-04T06:03:19+00:00Added an answer on June 4, 2026 at 6:03 am

    I found out what it was:

    At some point in the handler chain for each of these buttons the button gets disabled. When a button is disabled in ExtJS it prevents the blur event from firing.

    It was necessary to disable the buttons so the solution to simply add button.blur() in the handler was the correct way to do go about it.

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

Sidebar

Related Questions

I have some buttons in an UIView. My problem is, that they get cut
I have some filter and one grid.And grid have some buttons like modify/edit.I am
I have some MovieClips that act like buttons, how can i do that when
I have a winform with some buttons that are updated in an event handler.
I have a table displaying results from a database, and I am adding some
I have some link buttons that I'm using CSS3 gradient code that I generated
I have some 10 buttons with image-text and hover states for each. What I
I have some 10 buttons with different names each.On selecting each button I need
In my application I have some link buttons there but when I right click
I am trying to create a rich text editor. I have created some buttons

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.