Results 1 to 2 of 2

Thread: Custom style for tabs.

  1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    37
    Answers
    1

    Default Custom style for tabs.

    I have a requirement to create tabs based on a condition. There are three departments, say "A", "B" and "C". For every department there are a number of tabs. My requirement is to visually distinguish the tabs based on department. For example, if my page contains tabs for all the three departments, I need to distinguish them (different background color or bullet). Can anyone point out the way to achieve this?

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505

    Default

    I would recommend creating a custom theme for your application with different ui's that can be set for different tabs (using the tabConfig option discussed at the top of the tabPanel API docs).

    Theming guide:
    http://docs.sencha.com/extjs/4.2.2/#!/guide/theming

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •