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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:14:39+00:00 2026-05-14T18:14:39+00:00

I want to create a link in ExtJS, but one that is made of

  • 0

I want to create a link in ExtJS, but one that is made of button, so, that it contains event handlers (and I don’t need to add my own event handlers.)

Also, I would like to create a button that does display a big icon with text like:
ICON
TEXT

so that the icon is not positioned on the left side, but on the top (and is larger than the default 16×16).

  • 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-14T18:14:40+00:00Added an answer on May 14, 2026 at 6:14 pm

    First, adding an event handler to a link is dead simple and requires about the same amount of code as handling a button click:

    Ext.get('link-id').on('click', function(e){
      e.stopEvent(); // prevent default browser action
      // do something else
    });
    

    However, if you really want to use a button, then you’ll simply want to add an id or custom class to it and use standard CSS to override the button’s default style and make it look like a link.

    Regarding customizing the button layout, Ext 3.0+ provides very flexible buttons layouts out of the box. Have you tried to do this and are not able (if so, post some code)? Have you looked at the button sample page?

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

Sidebar

Related Questions

On confluence I want to create a link that links to: P:\myFolder\folder, where P
I want to create WatermarkTextBox in WP7.1 I followed the link http://www.windowsphonegeek.com/articles/WP7-WatermarkedTextBox-custom-control But that
I have a link which looks like that: www.domain.com/file.php I want to create .htaccess
i am new to ZF i want to create ajax link that will go
I want to create a HTML link. Such that when a link is clicked
Using Python I want to create a symbolic link pointing to a path that
I have strong-type view, I want to create link that refers to Model, which
I want to create a link that calls a javascript function, and I want
I want to create a link on a webpage that would close the currently
I want to create a hidden field and create a link in one helper

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.