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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:14:01+00:00 2026-06-11T11:14:01+00:00

I want to make a tabpanel in ExtJS 4 with big tab that include

  • 0

I want to make a tabpanel in ExtJS 4 with big tab that include my own Component (or XTemplete),
is there some way to implement?
thanks

UPDATE
: can change the custom tab’s height by this link

Change the Height of an ExtJS 4 Tab

  • 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-11T11:14:03+00:00Added an answer on June 11, 2026 at 11:14 am

    Check out Ext.tab.Bar and Ext.tab.Tab. You can pass in a tab bar configuration to the panel via the Ext.tab.Panel#tabBar config property.

    var tabpanel = {
        xtype: 'tabpanel',
        tabBar: {
            defaultType: 'xxx'        
        }
    }​
    

    You then create a custom component class with alias: 'widget.xxx. The default Ext.tab.Tab is a subclass of Ext.button.Button with custom styling.

    Replacing it with a component that is not just a subclass of Ext.tab.Tab is probably quite a bit of work. You will need to assure that the component’s behavior is correct and also the CSS styling looks nice.

    A faster but less flexible approach would be to subclass Ext.tab.Tab and change its appearance to match your needs.

    UPDATE

    Unfortunately ExtJs’ Ext.tab.Panel explicitely sets the xtype for each tab that is being added/created.
    From Ext.tab.Panel

    onAdd: function(item, index) {
        var me = this,
            cfg = item.tabConfig || {},
            defaultConfig = {
                xtype: 'tab',                // <= XXX
                card: item,
                disabled: item.disabled,
                closable: item.closable,
    

    But as you can see it is possible to add a tabConfig on the items of a tab panel which will take precedence of the defaultConfig defined here. So a simple and straight forward approach is to define a tabConfig on every child item of your tab panel

    tabConfig: {
       xtype: 'xxx'
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want make some quizes about movie. There is quiz mutable array with 10
Let's say I want make some of my sources publicly available via my blog
I want make some progress bar in my application with three20 library when sending
I want make a function to include in my code to calculate percentages. In
I want make the control height as double when the mouse is over that
I want to make a class serializable but i dont want make serializable some
I want to have Tab panel like this picture I want to implement the
I want make a xslt transformation to xsl-fo but I´m not really sure that
i want make function like that function(data){ } i want this data as this
I want make a page (HTML + CSS) that fits all the space left

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.